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

25 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
<$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>>>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
2014-07-29 14:43:10 +00:00
{{$:/core/images/locked-padlock}}
</$list>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/></span>
2014-07-29 14:43:10 +00:00
</$list>
</$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>>>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
2014-07-29 14:43:10 +00:00
{{$:/core/images/unlocked-padlock}}
</$list>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/></span>
2014-07-29 14:43:10 +00:00
</$list>
</$button>
</$reveal>