1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-01 07:36:18 +00:00
TiddlyWiki5/core/ui/PageControls/controlpanel.tid

21 lines
861 B
Plaintext
Raw Normal View History

title: $:/core/ui/Buttons/control-panel
2013-11-17 21:53:39 +00:00
tags: $:/tags/PageControls
2014-07-29 09:20:13 +00:00
caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}
2014-07-31 08:28:46 +00:00
description: {{$:/language/Buttons/ControlPanel/Hint}}
2013-11-17 21:53:39 +00:00
\whitespace trim
\procedure control-panel-button(class)
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>
<%if [<tv-config-toolbar-icons>match[yes]] %>
2014-07-29 09:20:13 +00:00
{{$:/core/images/options-button}}
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
<span class="tc-btn-text"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>
<%endif%>
</$button>
\end
<$list filter="[list<tv-story-list>] +[field:title[$:/ControlPanel]]" emptyMessage=<<control-panel-button>>>
<<control-panel-button "tc-selected">>
</$list>