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}}
|
|
|
|
|
2015-12-29 06:28:48 +00:00
|
|
|
<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show"><$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">
|
|
|
|
<$text text={{$:/language/Buttons/Fold/Caption}}/>
|
|
|
|
</span>
|
|
|
|
</$list>
|
2015-12-30 23:38:35 +00:00
|
|
|
</$button></$reveal><$reveal type="match" state=<<folded-state>> text="hide" default="show"><$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">
|
|
|
|
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
|
|
|
|
</span>
|
2015-08-09 10:10:04 +00:00
|
|
|
</$list>
|
2015-12-31 00:57:49 +00:00
|
|
|
</$button></$reveal>
|