1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50:28 +00:00
TiddlyWiki5/core/wiki/encryptionstatus.tid
2013-02-02 12:06:59 +00:00

11 lines
505 B
Plaintext

title: $:/snippets/encryptionstatus
<$reveal type="match" state="$:/isEncrypted" text="yes">
This wiki is encrypted.
<$button message="tw-clear-password" class="btn btn-mini btn-danger">Clear password</$button>
<$button message="tw-set-password" class="btn btn-mini 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-mini btn-warning">Set password</$button>
</$reveal>