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: Add label when a realm is deactivated.

Lauryn Menarda29dd27c4a07
diff --git a/templates/corporate/support/realm_details.html b/templates/corporate/support/realm_details.html
index e8f7f427f34..7143066f74c 100644
--- a/templates/corporate/support/realm_details.html
+++ b/templates/corporate/support/realm_details.html
@@ -1,5 +1,8 @@
<div class="realm-support-information">
<span class="cloud-label">Cloud realm</span>
+ {% if realm.deactivated %}
+ <span class="deactivated-label">DEACTIVATED</span>
+ {% endif %}
<h3><img src="{{ realm_icon_url(realm) }}" class="support-realm-icon" /> {{ realm.name }}</h3>
{% if realm.plan_type == SPONSORED_PLAN_TYPE %}
<p class="support-section-header">On 100% sponsored Zulip Standard Free 🎉</p>
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 6574e160ba1..612c62f79d1 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -159,6 +159,7 @@ tr.admin td:first-child {
}
.cloud-label,
+ .deactivated-label,
.remote-label {
padding: 2px 8px;
font-size: 0.9em;
@@ -172,6 +173,10 @@ tr.admin td:first-child {
background-color: hsl(280deg 100% 40%);
}
+ .deactivated-label {
+ background-color: hsl(2deg 64% 53%);
+ }
+
.remote-label {
background-color: hsl(186deg 76% 36%);
}