2014-07-29 12:37:57 +00:00
|
|
|
title: $:/core/ui/Buttons/info
|
2013-11-17 21:53:39 +00:00
|
|
|
tags: $:/tags/ViewToolbar
|
2014-07-29 09:20:13 +00:00
|
|
|
caption: {{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}
|
2014-07-31 08:28:46 +00:00
|
|
|
description: {{$:/language/Buttons/Info/Hint}}
|
2013-11-17 21:53:39 +00:00
|
|
|
|
2016-11-23 18:17:54 +00:00
|
|
|
\define button-content()
|
2014-08-28 21:28:02 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
2014-07-27 10:43:26 +00:00
|
|
|
{{$:/core/images/info-button}}
|
|
|
|
</$list>
|
2014-08-28 21:28:02 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
2014-10-11 14:26:51 +00:00
|
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Info/Caption}}/></span>
|
2014-07-27 10:43:26 +00:00
|
|
|
</$list>
|
2016-11-23 18:17:54 +00:00
|
|
|
\end
|
|
|
|
<$reveal state="$:/config/TiddlerInfo/Mode" type="match" text="popup">
|
|
|
|
<$button popup=<<tiddlerInfoState>> tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
|
|
<$macrocall $name="button-content" mode="inline"/>
|
|
|
|
</$button>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/config/TiddlerInfo/Mode" type="match" text="sticky">
|
|
|
|
<$reveal state=<<tiddlerInfoState>> type="match" text="" default="">
|
|
|
|
<$button set=<<tiddlerInfoState>> setTo="yes" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
|
|
<$macrocall $name="button-content" mode="inline"/>
|
|
|
|
</$button>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state=<<tiddlerInfoState>> type="nomatch" text="" default="">
|
|
|
|
<$button set=<<tiddlerInfoState>> setTo="" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
|
|
<$macrocall $name="button-content" mode="inline"/>
|
|
|
|
</$button>
|
|
|
|
</$reveal>
|
|
|
|
</$reveal>
|