explain why deleting a subdomain/directory won't restore the quota
This commit is contained in:
parent
63f4d15329
commit
bc936436ef
|
@ -199,7 +199,8 @@
|
||||||
|
|
||||||
let that = $(this);
|
let that = $(this);
|
||||||
let message = `All aliases associated with <b>${directory}</b> directory will also be deleted. ` +
|
let message = `All aliases associated with <b>${directory}</b> directory will also be deleted. ` +
|
||||||
`Your directory quota will be {{ current_user.directory_quota - 1 }} after the deletion, ` +
|
`As a deleted directory can't be used by someone else, deleting a directory doesn't reset your directory quota. ` +
|
||||||
|
`Your directory quota will be {{ current_user.directory_quota }} after the deletion, ` +
|
||||||
" please confirm.";
|
" please confirm.";
|
||||||
|
|
||||||
bootbox.confirm({
|
bootbox.confirm({
|
||||||
|
|
|
@ -136,11 +136,23 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="mb-3">This operation is <b>irreversible</b>.
|
<div class="mb-3">
|
||||||
All aliases associated with this domain will be deleted.
|
|
||||||
{% if custom_domain.is_sl_subdomain %}
|
{% if custom_domain.is_sl_subdomain %}
|
||||||
<br>
|
<div class="alert alert-danger">
|
||||||
After deletion, your subdomain quota will be {{ current_user.subdomain_quota - 1 }}.
|
This operation is <b>irreversible</b>.
|
||||||
|
All aliases associated with this subdomain will be deleted.
|
||||||
|
</div>
|
||||||
|
<div class="alert alert-warning">
|
||||||
|
Because a deleted subdomain can't be recycled, i.e. reused by someone else,
|
||||||
|
deleting a subdomain won't restore the subdomain quota.
|
||||||
|
After deletion, your subdomain quota will still be {{ current_user.subdomain_quota }}.
|
||||||
|
We recommend to disable the <b>catch-all</b> option instead of deleting this subdomain.
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
This operation is <b>irreversible</b>.
|
||||||
|
All aliases associated with this domain will be deleted.
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -148,7 +160,10 @@
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="hidden" name="form-name" value="delete">
|
<input type="hidden" name="form-name" value="delete">
|
||||||
<span class="delete-custom-domain btn btn-danger">Delete domain</span>
|
<span
|
||||||
|
class="delete-custom-domain btn btn-danger">
|
||||||
|
Delete {{ custom_domain.domain }}
|
||||||
|
</span>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue