From f2279ab58a2fa946f6ae823e420c3f34158aaf50 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 14 Oct 2021 22:45:34 -0700 Subject: [PATCH] email_server: aliases: Fix showing empty alias list message - Trim the button labels. - Style the usual buttons as default buttons. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- .../modules/email_server/templates/email_alias.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plinth/modules/email_server/templates/email_alias.html b/plinth/modules/email_server/templates/email_alias.html index 7cbed7efd..2298aeeb8 100644 --- a/plinth/modules/email_server/templates/email_alias.html +++ b/plinth/modules/email_server/templates/email_alias.html @@ -10,7 +10,7 @@

{% trans 'Manage Aliases' %}

- {% if no_alias %} + {% if not list_form.fields.aliases.choices %}

{% trans "You have no email aliases." %}

{% else %}
@@ -18,12 +18,12 @@ {{ list_form|bootstrap }} - - + + + value="{% trans 'Delete' %}">
{% endif %}