fix setting

This commit is contained in:
Son Nguyen Kim 2021-09-20 13:43:54 +02:00
parent 005a760710
commit cfb7b7cefc
1 changed files with 0 additions and 15 deletions

View File

@ -283,14 +283,6 @@
<input type="hidden" name="form-name" value="change-sender-format">
<select class="form-control mr-sm-2" name="sender-format">
{# Only show this for compatibility reason #}
{% if current_user.sender_format == SenderFormatEnum.VIA.value %}
<option value="{{ SenderFormatEnum.VIA.value }}"
{% if current_user.sender_format == SenderFormatEnum.VIA.value %} selected {% endif %}>
john@wick.com via SimpleLogin (Not recommended)
</option>
{% endif %}
<option value="{{ SenderFormatEnum.AT.value }}"
{% if current_user.sender_format == SenderFormatEnum.AT.value %} selected {% endif %}>
John Wick - john at wick.com
@ -301,13 +293,6 @@
John Wick - john(a)wick.com
</option>
{# Only show this for compatibility reason #}
{% if current_user.sender_format == SenderFormatEnum.FULL.value %}
<option value="{{ SenderFormatEnum.FULL.value }}"
{% if current_user.sender_format == SenderFormatEnum.FULL.value %} selected {% endif %}>
John Wick - john@wick.com (Not recommended)
</option>
{% endif %}
</select>
<button class="btn btn-outline-primary mt-3">Update</button>