1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 02:20:28 +00:00
TiddlyWiki5/core/ui/PageControls/encryption.tid

31 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-07-29 14:43:10 +00:00
title: $:/core/ui/Buttons/encryption
tags: $:/tags/PageControls
caption: {{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Caption}}
2014-07-31 08:28:46 +00:00
description: {{$:/language/Buttons/Encryption/Hint}}
2014-07-29 14:43:10 +00:00
\whitespace trim
2014-07-29 14:43:10 +00:00
<$reveal type="match" state="$:/isEncrypted" text="yes">
<$button message="tm-clear-password" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
<%if [<tv-config-toolbar-icons>match[yes]] %>
2014-07-29 14:43:10 +00:00
{{$:/core/images/locked-padlock}}
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
</span>
<%endif%>
2014-07-29 14:43:10 +00:00
</$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<$button message="tm-set-password" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
<%if [<tv-config-toolbar-icons>match[yes]] %>
2014-07-29 14:43:10 +00:00
{{$:/core/images/unlocked-padlock}}
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
</span>
<%endif%>
2014-07-29 14:43:10 +00:00
</$button>
</$reveal>