takahe/templates/admin/domain_delete.html
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00

28 lines
990 B
HTML

{% extends "admin/base_main.html" %}
{% block title %}Delete {{ domain.domain }} - Admin{% endblock %}
{% block settings_content %}
<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 registered 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 %}