mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +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
792 B
Plaintext
19 lines
792 B
Plaintext
title: $:/plugins/tiddlywiki/menubar/items/pagecontrols
|
|
tags: $:/tags/MenuBar
|
|
description: Page controls from the sidebar
|
|
caption: Page controls
|
|
custom-menu-content: <$transclude tiddler="$:/plugins/tiddlywiki/menubar/items/pagecontrols" mode="inline"/>
|
|
|
|
\whitespace trim
|
|
\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$
|
|
|
|
<$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>
|