mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Add pop storyview for pagecontrols (#4145)
this PR adds the pop storyview to the page-control buttons in the sidebar
This commit is contained in:
parent
2d4831f920
commit
8db893b9c9
@ -1,15 +1,17 @@
|
|||||||
title: $:/core/ui/PageTemplate/pagecontrols
|
title: $:/core/ui/PageTemplate/pagecontrols
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
\define config-title()
|
\define config-title()
|
||||||
$:/config/PageControlButtons/Visibility/$(listItem)$
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
||||||
\end
|
\end
|
||||||
<div class="tc-page-controls">
|
<div class="tc-page-controls">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
||||||
<$reveal type="nomatch" state=<<config-title>> text="hide">
|
<$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-]]">
|
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
|
||||||
<$transclude tiddler=<<listItem>> mode="inline"/>
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
||||||
</$set>
|
</$set>
|
||||||
</$reveal>
|
</$list>
|
||||||
|
</$set>
|
||||||
</$list>
|
</$list>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user