Update toolbar buttons to use v5.3.2 syntax (#8584)

This commit is contained in:
Leilei332
2024-09-05 18:40:18 +01:00
committed by GitHub
parent d6308f1c74
commit 9a3f1d25e5
19 changed files with 113 additions and 155 deletions
+4 -4
View File
@@ -5,12 +5,12 @@ description: {{$:/language/Buttons/Clone/Hint}}
\whitespace trim
<$button message="tm-new-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
<%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/clone-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/Clone/Caption}}/>
</span>
</$list>
<%endif%>
</$button>