mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
support: Revise view for scrubbed realms.
When a realm is scrubbed, there should be no support actions to take and all user information has been removed.
This commit is contained in:
committed by
Tim Abbott
parent
79ea4b6eb0
commit
bbd0f6e11c
@@ -10,7 +10,10 @@
|
||||
{% if realm_support_data[realm.id].sponsorship_data.has_discount %}
|
||||
<p class="support-section-header">Has a discount 💸</p>
|
||||
{% endif %}
|
||||
{% if realm.deactivated_redirect %}
|
||||
{% set realm_is_scrubbed = realm_support_data[realm.id].is_scrubbed %}
|
||||
{% if realm_is_scrubbed %}
|
||||
<b>Realm has been scrubbed</b>
|
||||
{% elif realm.deactivated_redirect %}
|
||||
<b>Placeholder realm</b><br />
|
||||
<b>Redirects to</b>: {{ realm.deactivated_redirect }}
|
||||
<a title="Copy URL" class="copy-button" data-clipboard-text="{{ realm.deactivated_redirect }}">
|
||||
@@ -69,7 +72,8 @@
|
||||
<b>File upload usage</b>: {{ realm_support_data[realm.id].file_upload_usage }}<br />
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if not realm.deactivated_redirect %}
|
||||
{% if realm_is_scrubbed %}
|
||||
{% elif not realm.deactivated_redirect %}
|
||||
<div>
|
||||
<div class="realm-management-actions">
|
||||
<p class="support-section-header">🛠️ Realm management:</p>
|
||||
|
||||
Reference in New Issue
Block a user