mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> [fioddor: squash create and remove commits as parts of the same move] Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
31 lines
802 B
HTML
31 lines
802 B
HTML
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
|
{% extends "email_form_base.html" %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
{{ block.super }}
|
|
|
|
{% if not has_homedir %}
|
|
<form action="{{ request.path }}" method="post">
|
|
<div class="alert alert-warning" role="alert">
|
|
<p>
|
|
<strong>{% trans "You do not have a home directory." %}</strong>
|
|
<span>
|
|
{% trans "Create one to begin receiving emails." %}
|
|
</span>
|
|
</p>
|
|
{% csrf_token %}
|
|
<button class="btn btn-primary" type="submit" name="btn_mkhome">
|
|
{% trans "Create home directory" %}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
{% else %}
|
|
<p>{% trans "Your home directory is ready to receive emails." %}</p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|