Jan Dittberner
866f6c8083
- remove customer hosting package list - replace useless dashboard with redirect - move all hosting package list for superuser to top level menu item - replace btn-default with btn-secondary - improve email address management page
43 lines
No EOL
2 KiB
HTML
43 lines
No EOL
2 KiB
HTML
{% extends "websites/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{{ block.super }} - {% spaceless %}
|
|
{% if user == customer %}
|
|
{% blocktranslate %}Delete Website {{ website }}{% endblocktranslate %}
|
|
{% else %}
|
|
{% blocktranslate with full_name=customer.get_full_name trimmed %}
|
|
Delete Website {{ website }} of Customer {{ full_name }}
|
|
{% endblocktranslate %}
|
|
{% endif %}
|
|
{% endspaceless %}{% endblock title %}
|
|
|
|
{% block page_title %}{% spaceless %}
|
|
{% if user == customer %}
|
|
{% blocktranslate %}Delete Website <small>{{ website }}</small>{% endblocktranslate %}
|
|
{% else %}
|
|
{% blocktranslate with full_name=customer.get_full_name trimmed %}
|
|
Delete Website <small>{{ website }} of Customer {{ full_name }}</small>
|
|
{% endblocktranslate %}
|
|
{% endif %}
|
|
{% endspaceless %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="panel panel-warning">
|
|
<div class="panel-heading">
|
|
{% blocktranslate %}Do you really want to delete the website {{ website }}?{% endblocktranslate %}
|
|
</div>
|
|
<div class="panel-body">
|
|
<p>{% blocktranslate trimmed %}
|
|
Please be aware that the website directory is removed from the webserver and the webserver configuration
|
|
is changed so that the website will not be reachable anymore.
|
|
<strong>All data in the website directory will be lost!</strong>
|
|
{% endblocktranslate %}</p>
|
|
<form action="{% url 'delete_website' package=hostingpackage.id domain=website.domain.domain pk=website.id %}"
|
|
method="post" class="form">
|
|
{% csrf_token %}
|
|
<input class="btn btn-warning" type="submit" value="{% translate "Yes, do it!" %}"/>
|
|
<a class="btn btn-secondary" href="{{ hostingpackage.get_absolute_url }}">{% translate "Cancel" %}</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock content %} |