Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

support: Show scheduled data deletion info for deactivated realms.

Lauryn Menard348c65bc9af4
diff --git a/templates/corporate/support/realm_details.html b/templates/corporate/support/realm_details.html
index 8bc4a36cea6..d7fc6298266 100644
--- a/templates/corporate/support/realm_details.html
+++ b/templates/corporate/support/realm_details.html
@@ -8,6 +8,13 @@
<span class="demo-label">DEMO ORGANIZATION</span>
{% endif %}
<h3><img src="{{ realm_icon_url(realm) }}" class="support-realm-icon" /> {{ realm.name }}</h3>
+ {% if realm.deactivated %}
+ {% if realm.scheduled_deletion_date %}
+ <p class="support-section-header">Scheduled data deletion on {{ realm.scheduled_deletion_date.strftime('%B, %d %Y') }} ⏰</p>
+ {% else %}
+ <p class="support-section-header">No scheduled data deletion date ⛔</p>
+ {% endif %}
+ {% endif %}
{% if realm.plan_type == SPONSORED_PLAN_TYPE %}
<p class="support-section-header">On 100% sponsored Zulip Standard Free 🎉</p>
{% endif %}