mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 09:36:18 +00:00
0b6db6e860
human readable in preparation to add data-title=<<listItem>> for better UX defining a "read only" theme Changes to be committed: modified: core/ui/EditTemplate/controls.tid modified: core/ui/PageControls.tid modified: core/ui/PageControls/more-page-actions.tid modified: core/ui/ViewTemplate/title.tid modified: core/ui/ViewToolbar/more-tiddler-actions.tid modified: plugins/tiddlywiki/menubar/items/pagecontrols.tid
19 lines
718 B
Plaintext
19 lines
718 B
Plaintext
title: $:/core/ui/EditTemplate/controls
|
|
tags: $:/tags/EditTemplate
|
|
|
|
\define config-title() $:/config/EditToolbarButtons/Visibility/$(listItem)$
|
|
\whitespace trim
|
|
<div class="tc-tiddler-title tc-tiddler-edit-title">
|
|
<$view field="title"/>
|
|
<span class="tc-tiddler-controls tc-titlebar">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem">
|
|
<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>
|
|
<$reveal type="nomatch" state=<<config-title>> text="hide">
|
|
<$transclude $tiddler=<<listItem>>/>
|
|
</$reveal>
|
|
</$let>
|
|
</$list>
|
|
</span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|