mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 23:30:59 +00:00
df5493dd2a
Found via `codespell -S ./static -L keypair`
28 lines
964 B
HTML
28 lines
964 B
HTML
{% extends "settings/base.html" %}
|
|
|
|
{% block title %}Delete {{ domain.domain }} - Admin{% endblock %}
|
|
|
|
{% block 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 %}
|
|
|
|
{% endblock %}
|