display 🗝 for PGP-enabled mailbox

This commit is contained in:
Son NK 2020-03-08 22:59:46 +01:00
parent 6200d4d1a0
commit 5d5131f32c
2 changed files with 12 additions and 1 deletions

View File

@ -41,6 +41,10 @@
🚫
</span>
{% endif %}
{% if mailbox.pgp_finger_print %}
<span class="cursor" data-toggle="tooltip" data-original-title="PGP Enabled">🗝</span>
{% endif %}
{% if mailbox.id == current_user.default_mailbox_id %}
<div class="badge badge-primary float-right" data-toggle="tooltip"
title="When a new random alias is created, it belongs to the default mailbox">Default Mailbox

View File

@ -17,6 +17,9 @@
🚫
</span>
{% endif %}
{% if mailbox.pgp_finger_print %}
<span class="cursor" data-toggle="tooltip" data-original-title="PGP Enabled">🗝</span>
{% endif %}
</h1>
<!-- Change email -->
@ -60,8 +63,12 @@
<div class="card-body">
<div class="card-title">
PGP
Pretty Good Privacy (PGP)
<div class="small-text">
By importing your PGP Public Key into SimpleLogin, all emails sent to {{mailbox.email}} are <b>encrypted</b> with your key.
</div>
</div>
<div class="form-group">
<label class="form-label">PGP Public Key</label>