1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-19 14:40:27 +00:00
TiddlyWiki5/core/wiki/encryptionstatus.tid
2013-04-27 16:49:12 +01:00

11 lines
478 B
Plaintext

title: $:/snippets/encryptionstatus
<$reveal type="match" state="$:/isEncrypted" text="yes">
This wiki is encrypted.
<$button message="tw-clear-password" class="btn btn-danger">Clear password</$button>
<$button message="tw-set-password" class="btn btn-warning">Change password</$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
This wiki is not encrypted.
<$button message="tw-set-password" class="btn btn-warning">Set password</$button>
</$reveal>