mailbox backend: don't show identity delete action on mailbox identity

This commit is contained in:
Alice Gaudon 2021-02-26 12:57:34 +01:00
parent 0a0d284ecc
commit 74f7d92437
1 changed files with 10 additions and 8 deletions

View File

@ -28,6 +28,7 @@
<td>{{ identity.id }}</td>
<td>{{ identity.email }}</td>
<td class="actions">
{% if mailbox.name != identity.email %}
<form action="{{ route('backend-delete-mail-identity') }}" method="POST">
<input type="hidden" name="id" value="{{ identity.id }}">
@ -38,6 +39,7 @@
{{ macros.csrf(getCsrfToken) }}
</form>
{% endif %}
</td>
</tr>
{% endfor %}