mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 13:29:56 +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
17 lines
629 B
Plaintext
17 lines
629 B
Plaintext
title: $:/core/ui/PageTemplate/pagecontrols
|
|
|
|
\whitespace trim
|
|
\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$
|
|
|
|
<div class="tc-page-controls">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
|
<$set name="hidden" value=<<config-title>>>
|
|
<$list filter="[<hidden>!text[hide]]" storyview="pop" variable="ignore">
|
|
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
|
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
|
</$set>
|
|
</$list>
|
|
</$set>
|
|
</$list>
|
|
</div>
|