TiddlyWiki5/core/wiki/encryptionstatus.tid

11 wiersze
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>