mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
dbaccf792d
Instead of the old "prefix" hack
20 lines
779 B
Plaintext
20 lines
779 B
Plaintext
title: $:/core/ui/Buttons/manager
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/list}} {{$:/language/Buttons/Manager/Caption}}
|
|
description: {{$:/language/Buttons/Manager/Hint}}
|
|
|
|
\define manager-button(class)
|
|
<$button to="$:/Manager" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/list}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Manager/Caption}}/></span>
|
|
</$list>
|
|
</$button>
|
|
\end
|
|
|
|
<$list filter="[list[$:/StoryList]] +[field:title[$:/Manager]]" emptyMessage=<<manager-button>>>
|
|
<<manager-button "tc-selected">>
|
|
</$list>
|