1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-06 10:06:19 +00:00
TiddlyWiki5/core/wiki/encryptionstatus.tid
2014-08-28 21:43:44 +01:00

12 lines
518 B
Plaintext

title: $:/snippets/encryptionstatus
\define lingo-base() $:/language/ControlPanel/Tools/Encryption/
<$reveal type="match" state="$:/isEncrypted" text="yes">
<<lingo Enabled/Prompt>>
<$button message="tm-clear-password"><<lingo ClearPassword/Button>></$button>
<$button message="tm-set-password"><<lingo ChangePassword/Button>></$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<<lingo Disabled/Prompt>>
<$button message="tm-set-password"><<lingo SetPassword/Button>></$button>
</$reveal>