mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
- Audit: finalize MainCfDiagnosis API - Doc: document Diagnosis models - Doc: remove hacky imports and replace them with autodoc mock imports - Views: add `email_` prefix to email server templates - Apache: delete unnecessary directives (robots tag, cookie header etc.)
42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
|
{% extends "email_form_base.html" %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
{{ block.super }}
|
|
|
|
{% if no_alias %}
|
|
<p>{% trans "You have no email aliases." %}</p>
|
|
{% else %}
|
|
<form action="{{ request.path }}" method="post">
|
|
{% csrf_token %}
|
|
{{ alias_boxes|safe }}
|
|
|
|
<input type="hidden" name="form" value="Checkboxes">
|
|
|
|
<input class="btn btn-secondary" type="submit" name="btn_disable"
|
|
value="{% trans 'Disable selected' %}">
|
|
|
|
<input class="btn btn-secondary" type="submit" name="btn_enable"
|
|
value="{% trans 'Enable selected' %}">
|
|
|
|
<input class="btn btn-danger" type="submit" name="btn_delete"
|
|
value="{% trans 'Delete selected' %}">
|
|
</form>
|
|
{% endif %}
|
|
|
|
<h4>{% trans "Create a new email alias" %}</h4>
|
|
|
|
<form action="{{ request.path }}" method="post">
|
|
{% csrf_token %}
|
|
{{ form|bootstrap }}
|
|
<input type="hidden" name="form" value="AliasCreationForm">
|
|
<input class="btn btn-primary" type="submit" name="btn_add"
|
|
value="{% trans 'Add' %}">
|
|
</form>
|
|
|
|
{% endblock %}
|