2015-08-09 10:10:04 +00:00
|
|
|
title: $:/core/ui/Buttons/fold
|
|
|
|
tags: $:/tags/ViewToolbar
|
|
|
|
caption: {{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}
|
|
|
|
description: {{$:/language/Buttons/Fold/Hint}}
|
|
|
|
|
2017-07-12 15:47:52 +00:00
|
|
|
\whitespace trim
|
2018-12-04 09:12:32 +00:00
|
|
|
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" default="show">
|
2017-07-12 15:47:52 +00:00
|
|
|
<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>
|
2015-08-09 10:10:04 +00:00
|
|
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
|
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
|
|
|
{{$:/core/images/fold-button}}
|
2015-08-09 15:40:58 +00:00
|
|
|
</$list>
|
|
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
|
|
<span class="tc-btn-text">
|
2017-07-12 15:47:52 +00:00
|
|
|
<$text text=" "/>
|
2015-08-09 15:40:58 +00:00
|
|
|
<$text text={{$:/language/Buttons/Fold/Caption}}/>
|
|
|
|
</span>
|
|
|
|
</$list>
|
2017-07-12 15:47:52 +00:00
|
|
|
</$button>
|
|
|
|
</$reveal>
|
2018-12-04 09:12:32 +00:00
|
|
|
<$reveal type="match" stateTitle=<<folded-state>> text="hide" default="show">
|
2017-07-12 15:47:52 +00:00
|
|
|
<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>
|
2015-08-09 15:40:58 +00:00
|
|
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
|
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
2015-08-09 10:10:04 +00:00
|
|
|
{{$:/core/images/unfold-button}}
|
|
|
|
</$list>
|
|
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
2015-08-09 15:40:58 +00:00
|
|
|
<span class="tc-btn-text">
|
2017-07-12 15:47:52 +00:00
|
|
|
<$text text=" "/>
|
2015-08-09 15:40:58 +00:00
|
|
|
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
|
|
|
|
</span>
|
2015-08-09 10:10:04 +00:00
|
|
|
</$list>
|
2017-07-12 15:47:52 +00:00
|
|
|
</$button>
|
2018-12-04 09:12:32 +00:00
|
|
|
</$reveal>
|