mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-25 11:06:45 +00:00
![Jermolene](/assets/img/avatar_default.png)
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> |