mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
ViewTemplate toolbar add, change aria-label to hint so it is more descriptive (#8323)
This commit is contained in:
parent
4f4e055091
commit
ffbef16152
@ -4,11 +4,15 @@ caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}
|
|||||||
description: {{$:/language/Buttons/Delete/Hint}}
|
description: {{$:/language/Buttons/Delete/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button actions=<<cancel-delete-tiddler-actions "delete">> tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button actions=<<cancel-delete-tiddler-actions "delete">>
|
||||||
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
tooltip={{$:/language/Buttons/Delete/Hint}}
|
||||||
{{$:/core/images/delete-button}}
|
aria-label={{$:/language/Buttons/Delete/Hint}}
|
||||||
<%endif%>
|
class=<<tv-config-toolbar-class>>
|
||||||
<%if [<tv-config-toolbar-text>match[yes]] %>
|
>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Delete/Caption}}/></span>
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<%endif%>
|
{{$:/core/images/delete-button}}
|
||||||
|
<%endif%>
|
||||||
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Delete/Caption}}/></span>
|
||||||
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -4,13 +4,18 @@ caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
|
|||||||
description: {{$:/language/Buttons/Clone/Hint}}
|
description: {{$:/language/Buttons/Clone/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\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>>>
|
<$button message="tm-new-tiddler"
|
||||||
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
param=<<currentTiddler>>
|
||||||
{{$:/core/images/clone-button}}
|
tooltip={{$:/language/Buttons/Clone/Hint}}
|
||||||
<%endif%>
|
aria-label={{$:/language/Buttons/Clone/Hint}}
|
||||||
<%if [<tv-config-toolbar-text>match[yes]] %>
|
class=<<tv-config-toolbar-class>>
|
||||||
<span class="tc-btn-text">
|
>
|
||||||
<$text text={{$:/language/Buttons/Clone/Caption}}/>
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
</span>
|
{{$:/core/images/clone-button}}
|
||||||
<%endif%>
|
<%endif%>
|
||||||
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/Clone/Caption}}/>
|
||||||
|
</span>
|
||||||
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
@ -4,13 +4,17 @@ caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
|
|||||||
description: {{$:/language/Buttons/Close/Hint}}
|
description: {{$:/language/Buttons/Close/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-close-tiddler"
|
||||||
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
tooltip={{$:/language/Buttons/Close/Hint}}
|
||||||
{{$:/core/images/close-button}}
|
aria-label={{$:/language/Buttons/Close/Caption}}
|
||||||
<%endif%>
|
class=<<tv-config-toolbar-class>>
|
||||||
<%if [<tv-config-toolbar-text>match[yes]] %>
|
>
|
||||||
<span class="tc-btn-text">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$text text={{$:/language/Buttons/Close/Caption}}/>
|
{{$:/core/images/close-button}}
|
||||||
</span>
|
<%endif%>
|
||||||
<%endif%>
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/Close/Caption}}/>
|
||||||
|
</span>
|
||||||
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
@ -4,13 +4,17 @@ caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
|
|||||||
description: {{$:/language/Buttons/Edit/Hint}}
|
description: {{$:/language/Buttons/Edit/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-edit-tiddler"
|
||||||
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
tooltip={{$:/language/Buttons/Edit/Hint}}
|
||||||
{{$:/core/images/edit-button}}
|
aria-label={{$:/language/Buttons/Edit/Hint}}
|
||||||
<%endif%>
|
class=<<tv-config-toolbar-class>>
|
||||||
<%if [<tv-config-toolbar-text>match[yes]] %>
|
>
|
||||||
<span class="tc-btn-text">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$text text={{$:/language/Buttons/Edit/Caption}}/>
|
{{$:/core/images/edit-button}}
|
||||||
</span>
|
<%endif%>
|
||||||
<%endif%>
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/Edit/Caption}}/>
|
||||||
|
</span>
|
||||||
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
Loading…
Reference in New Issue
Block a user