mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
d70b6a7d6c
* Make save wiki button be accessible to users without colour vision * Make the dynamic button be a separate button For backwards compatibility
21 lines
869 B
Plaintext
21 lines
869 B
Plaintext
title: $:/core/ui/Buttons/save-wiki
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/save-button-dynamic}} {{$:/language/Buttons/SaveWiki/Caption}}
|
|
description: {{$:/language/Buttons/SaveWiki/Hint}}
|
|
|
|
\whitespace trim
|
|
<$button tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}>
|
|
<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
|
|
</$wikify>
|
|
<span class="tc-dirty-indicator">
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/save-button-dynamic}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text">
|
|
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
|
|
</span>
|
|
</$list>
|
|
</span>
|
|
</$button> |