hide replace reverse alias option

This commit is contained in:
Son NK 2020-12-01 18:36:24 +01:00
parent cd680bcd7f
commit 8551dade7c

View file

@ -280,27 +280,29 @@
<!-- END Sender Format --> <!-- END Sender Format -->
<!-- Reverse-alias --> <!-- Reverse-alias -->
<div class="card"> {% if current_user.replace_reverse_alias %}
<div class="card-body"> <div class="card">
<div class="card-title">Reverse Alias Replacement</div> <div class="card-body">
<div class="mb-3"> <div class="card-title">Reverse Alias Replacement</div>
When replying to a forwarded email, the <b>reverse-alias</b> can be automatically included <div class="mb-3">
in the attached message by your email client. <br> When replying to a forwarded email, the <b>reverse-alias</b> can be automatically included
Turning on this option will <b>replace</b> the reverse-alias by your contact email. <br> in the attached message by your email client. <br>
Please note this option doesn't work well with Gmail UI Turning on this option will <b>replace</b> the reverse-alias by your contact email. <br>
as Gmail automatically enriches the message which breaks the reverse-alias format. Please note this option doesn't work well with Gmail UI
</div> as Gmail automatically enriches the message which breaks the reverse-alias format.
<form method="post">
<input type="hidden" name="form-name" value="replace-ra">
<div class="form-check">
<input type="checkbox" id="replace-ra" name="replace-ra"
{% if current_user.replace_reverse_alias %} checked {% endif %} class="form-check-input">
<label for="replace-ra">Enable replacing reverse alias</label>
</div> </div>
<button type="submit" class="btn btn-outline-primary">Update</button> <form method="post">
</form> <input type="hidden" name="form-name" value="replace-ra">
<div class="form-check">
<input type="checkbox" id="replace-ra" name="replace-ra"
{% if current_user.replace_reverse_alias %} checked {% endif %} class="form-check-input">
<label for="replace-ra">Enable replacing reverse alias</label>
</div>
<button type="submit" class="btn btn-outline-primary">Update</button>
</form>
</div>
</div> </div>
</div> {% endif %}
<!-- END Reverse-alias --> <!-- END Reverse-alias -->
<div class="card"> <div class="card">