mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
8db893b9c9
this PR adds the pop storyview to the page-control buttons in the sidebar
18 lines
590 B
Plaintext
18 lines
590 B
Plaintext
title: $:/core/ui/PageTemplate/pagecontrols
|
|
|
|
\whitespace trim
|
|
\define config-title()
|
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
|
\end
|
|
<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">
|
|
<$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>
|