1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00
TiddlyWiki5/core/wiki/encryptionstatus.tid
2014-08-28 17:17:50 +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="tw-clear-password"><<lingo ClearPassword/Button>></$button>
<$button message="tw-set-password"><<lingo ChangePassword/Button>></$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<<lingo Disabled/Prompt>>
<$button message="tw-set-password"><<lingo SetPassword/Button>></$button>
</$reveal>