OcttKB/Wiki-OcttKB/plugins/commander/$__plugins_kookma_commander...

23 lines
947 B
Plaintext
Raw Normal View History

2023-02-28 12:07:24 +01:00
caption: {{$:/plugins/kookma/commander/images/file-alt}} {{$:/language/Buttons/Commander/Caption}}
description: Open tiddler commander
list-after: $:/core/ui/Buttons/advanced-search
tags: $:/tags/PageControls
title: $:/plugins/kookma/commander/buttons/pagecontrol
type: text/vnd.tiddlywiki
\whitespace trim
\define commander-button(class)
<$button to="$:/Commander" tooltip={{$:/language/Buttons/Commander/Hint}} aria-label={{$:/language/Buttons/Commander/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
{{$:/plugins/kookma/commander/images/commander.svg}}
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Commander/Caption}}/></span>
</$list>
</$button>
\end
<$list filter="[list[$:/StoryList]] +[field:title[$:/Commander]]" emptyMessage=<<commander-button>>>
<<commander-button "tc-selected">>
</$list>