mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Add pop storyview to ViewToolbar buttons (#5910)
* Add pop storyview to ViewToolbar buttons * Update title.tid
This commit is contained in:
parent
451074f7ed
commit
3c86cf7d2e
@ -5,13 +5,10 @@ tags: $:/tags/ViewTemplate
|
|||||||
\define title-styles()
|
\define title-styles()
|
||||||
fill:$(foregroundColor)$;
|
fill:$(foregroundColor)$;
|
||||||
\end
|
\end
|
||||||
\define config-title()
|
|
||||||
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|
||||||
\end
|
|
||||||
<div class="tc-tiddler-title">
|
<div class="tc-tiddler-title">
|
||||||
<div class="tc-titlebar">
|
<div class="tc-titlebar">
|
||||||
<span class="tc-tiddler-controls">
|
<span class="tc-tiddler-controls">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"><$transclude tiddler=<<listItem>>/></$set></$reveal></$list>
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]" storyview="pop" variable="listItem"><$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"><$transclude tiddler=<<listItem>>/></$set></$list>
|
||||||
</span>
|
</span>
|
||||||
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
||||||
<$link>
|
<$link>
|
||||||
@ -43,4 +40,4 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]" variable="listItem"><$transclude tiddler=<<listItem>> mode="block"/></$list>
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]" variable="listItem"><$transclude tiddler=<<listItem>> mode="block"/></$list>
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user