2015-01-25 19:03:58 +01:00
|
|
|
{% extends "managemails/base.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block title %}{{ block.super }} - {% spaceless %}
|
2023-04-16 22:11:32 +02:00
|
|
|
{% if user == customer %}
|
|
|
|
{% blocktranslate %}Delete Mail Address {{ mailaddress }}{% endblocktranslate %}
|
|
|
|
{% else %}
|
|
|
|
{% blocktranslate with full_name=customer.get_full_name trimmed %}
|
|
|
|
Delete Mail Address {{ mailaddress }} of Customer {{ full_name }}
|
|
|
|
{% endblocktranslate %}
|
|
|
|
{% endif %}
|
2015-01-25 19:03:58 +01:00
|
|
|
{% endspaceless %}{% endblock title %}
|
|
|
|
|
|
|
|
{% block page_title %}{% spaceless %}
|
2023-04-16 22:11:32 +02:00
|
|
|
{% if user == customer %}
|
|
|
|
{% blocktranslate %}Delete Mail Address {{ mailaddress }}{% endblocktranslate %}
|
|
|
|
{% else %}
|
|
|
|
{% blocktranslate with full_name=customer.get_full_name trimmed %}
|
|
|
|
Delete Mail Address {{ mailaddress }} of Customer {{ full_name }}
|
|
|
|
{% endblocktranslate %}
|
|
|
|
{% endif %}
|
2015-01-25 19:03:58 +01:00
|
|
|
{% endspaceless %}{% endblock page_title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-04-16 22:11:32 +02:00
|
|
|
<div class="panel panel-warning">
|
|
|
|
<div class="panel-body">{% blocktranslate trimmed %}
|
|
|
|
Do you really want to delete the mail address {{ mailaddress }}?
|
|
|
|
{% endblocktranslate %}</div>
|
|
|
|
<div class="panel-body form">
|
|
|
|
<form action="{% url 'delete_mailaddress' package=hostingpackage.id domain=maildomain.domain pk=mailaddress.id %}"
|
|
|
|
method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input class="btn btn-warning" type="submit" value="{% translate "Yes, do it!" %}"/>
|
|
|
|
<a class="btn btn-default" href="{{ hostingpackage.get_absolute_url }}">{% translate "Cancel" %}</a>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock content %}
|