mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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 <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
db1df5ce6b
commit
f2279ab58a
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<h2>{% trans 'Manage Aliases' %}</h2>
|
<h2>{% trans 'Manage Aliases' %}</h2>
|
||||||
|
|
||||||
{% if no_alias %}
|
{% if not list_form.fields.aliases.choices %}
|
||||||
<p>{% trans "You have no email aliases." %}</p>
|
<p>{% trans "You have no email aliases." %}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<form action="{{ request.path }}" method="post">
|
<form action="{{ request.path }}" method="post">
|
||||||
@ -18,12 +18,12 @@
|
|||||||
{{ list_form|bootstrap }}
|
{{ list_form|bootstrap }}
|
||||||
|
|
||||||
<input type="hidden" name="form" value="list">
|
<input type="hidden" name="form" value="list">
|
||||||
<input class="btn btn-secondary" type="submit" name="btn_disable"
|
<input class="btn btn-default" type="submit" name="btn_disable"
|
||||||
value="{% trans 'Disable selected' %}">
|
value="{% trans 'Disable' %}">
|
||||||
<input class="btn btn-secondary" type="submit" name="btn_enable"
|
<input class="btn btn-default" type="submit" name="btn_enable"
|
||||||
value="{% trans 'Enable selected' %}">
|
value="{% trans 'Enable' %}">
|
||||||
<input class="btn btn-danger" type="submit" name="btn_delete"
|
<input class="btn btn-danger" type="submit" name="btn_delete"
|
||||||
value="{% trans 'Delete selected' %}">
|
value="{% trans 'Delete' %}">
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user