mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
support: Show scrub realm button only when realm is deactivated.
This commit is contained in:
committed by
Tim Abbott
parent
696bdf0b17
commit
405dc6131f
@@ -180,7 +180,7 @@
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if realm.deactivated %}
|
||||
<form method="POST" class="scrub-realm-form support-form">
|
||||
<h3>❌ Scrub realm</h3>
|
||||
{{ csrf_input }}
|
||||
@@ -188,5 +188,6 @@
|
||||
<input type="hidden" name="scrub_realm" value="true" />
|
||||
<button data-string-id="{{realm.string_id}}" class="scrub-realm-button">Scrub realm (danger)</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user