mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 11:29:58 +00:00
e051eb7d90
Now we’re done with the text that lives in tiddlers, and we’ll need to get on with the text that is embedded in code modules.
12 lines
589 B
Plaintext
12 lines
589 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" class="btn btn-danger"><<lingo ClearPassword/Button>></$button>
|
|
<$button message="tw-set-password" class="btn btn-warning"><<lingo ChangePassword/Button>></$button>
|
|
</$reveal>
|
|
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
|
<<lingo Disabled/Prompt>>
|
|
<$button message="tw-set-password" class="btn btn-warning"><<lingo SetPassword/Button>></$button>
|
|
</$reveal> |