summaryrefslogtreecommitdiffstats
path: root/templates/settings/settings_system_domain_delete.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-16 21:12:28 -0700
committerAndrew Godwin2022-11-16 21:12:28 -0700
commit1b52acdb56346d939eb2e26ff449697b52fa7142 (patch)
tree222e5a3de47db230c392f18ab983abe69eb94c5d /templates/settings/settings_system_domain_delete.html
parent44af0d4c59eed1c3715e9044e75c159cfddf54cc (diff)
downloadtakahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.gz
takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.bz2
takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.zip
Domains management pages
Diffstat (limited to 'templates/settings/settings_system_domain_delete.html')
-rw-r--r--templates/settings/settings_system_domain_delete.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/settings/settings_system_domain_delete.html b/templates/settings/settings_system_domain_delete.html
new file mode 100644
index 0000000..220bbb9
--- /dev/null
+++ b/templates/settings/settings_system_domain_delete.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block title %}Delete {{ domain.domain }} - System Settings{% endblock %}
+
+{% block content %}
+ {% block menu %}
+ {% include "settings/_settings_system_menu.html" %}
+ {% endblock %}
+
+ <form action="." method="POST">
+ {% csrf_token %}
+
+ <h1>Deleting {{ domain.domain }}</h1>
+
+ {% if num_identities %}
+ <p>
+ You cannot delete this domain as it has <b>{{ num_identities }}
+ identit{{ num_identities|pluralize:"y,ies" }}</b> registered on it.
+ </p>
+ <p>
+ You will need to manually remove all identities from this domain in
+ order to delete it.
+ </p>
+ {% else %}
+ <p>Please confirm deletion of this domain - there are no identities registed on it.</p>
+ <div class="buttons">
+ <a class="button" href="{{ domain.urls.edit }}">Cancel</a>
+ <button class="delete">Confirm Deletion</button>
+ </div>
+ {% endif %}
+ </form>
+
+{% endblock %}