Add banner for unfolding tiddlers

This commit is contained in:
Jermolene
2015-09-18 17:29:52 +01:00
parent 6309d41b42
commit b641cb402d
4 changed files with 34 additions and 5 deletions

View File

@@ -3,10 +3,6 @@ tags: $:/tags/ViewToolbar
caption: {{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}
description: {{$:/language/Buttons/Fold/Hint}}
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$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>>>
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>