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: Remove abbreviation for "Organization type".

Lauryn Menard31c32bcba789
diff --git a/corporate/tests/test_support_views.py b/corporate/tests/test_support_views.py
index ea102c183b3..6a8ef3a38b8 100644
--- a/corporate/tests/test_support_views.py
+++ b/corporate/tests/test_support_views.py
@@ -199,7 +199,7 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):
f"<h3>{name}</h3>",
f"<b>Remote realm host:</b> {host}<br />",
"<b>Date created</b>: 01 December 2023",
- "<b>Org type</b>: Unspecified<br />",
+ "<b>Organization type</b>: Unspecified<br />",
"<b>Has remote realms</b>: True<br />",
"📶 Push notification status:",
],
@@ -1155,7 +1155,7 @@ class TestSupportEndpoint(ZulipTestCase):
)
m.assert_called_once_with(get_realm("zulip"), 70, acting_user=iago)
self.assert_in_success_response(
- ["Org type of zulip changed from Business to Government"], result
+ ["Organization type of zulip changed from Business to Government"], result
)
def test_attach_discount(self) -> None:
diff --git a/corporate/views/support.py b/corporate/views/support.py
index e8af7dea7db..507d0d718fa 100644
--- a/corporate/views/support.py
+++ b/corporate/views/support.py
@@ -417,7 +417,7 @@ def support(
elif org_type is not None:
current_realm_type = realm.org_type
do_change_realm_org_type(realm, org_type, acting_user=acting_user)
- msg = f"Org type of {realm.string_id} changed from {get_org_type_display_name(current_realm_type)} to {get_org_type_display_name(org_type)} "
+ msg = f"Organization type of {realm.string_id} changed from {get_org_type_display_name(current_realm_type)} to {get_org_type_display_name(org_type)} "
context["success_message"] = msg
elif new_subdomain is not None:
old_subdomain = realm.string_id
diff --git a/templates/corporate/activity/installation_activity_table.html b/templates/corporate/activity/installation_activity_table.html
index efe60917120..ac7cb25a453 100644
--- a/templates/corporate/activity/installation_activity_table.html
+++ b/templates/corporate/activity/installation_activity_table.html
@@ -41,7 +41,7 @@
<th>ARR</th>
<th>Rate (%)</th>
{% endif %}
- <th>Org type</th>
+ <th>Organization type</th>
<th>Referrer</th>
<th>DAU</th>
<th>WAU</th>
diff --git a/templates/corporate/support/realm_details.html b/templates/corporate/support/realm_details.html
index df2f2053982..0e4c678ba18 100644
--- a/templates/corporate/support/realm_details.html
+++ b/templates/corporate/support/realm_details.html
@@ -58,7 +58,7 @@
<button type="submit" class="support-submit-button">Update</button>
</form>
<form method="POST" class="support-form">
- <b>Org type</b>:<br />
+ <b>Organization type</b>:<br />
{{ csrf_input }}
<input type="hidden" name="realm_id" value="{{ realm.id }}" />
<select name="org_type" id="org_type">
diff --git a/templates/corporate/support/remote_realm_details.html b/templates/corporate/support/remote_realm_details.html
index fdf2d5154f6..7fe0fec953b 100644
--- a/templates/corporate/support/remote_realm_details.html
+++ b/templates/corporate/support/remote_realm_details.html
@@ -29,7 +29,7 @@
<b>Date created</b>: {{ support_data[remote_realm.id].date_created.strftime('%d %B %Y') }}<br />
<b>UUID</b>: {{ remote_realm.uuid }}<br />
<br />
- <b>Org type</b>: {{ get_org_type_display_name(remote_realm.org_type) }}<br />
+ <b>Organization type</b>: {{ get_org_type_display_name(remote_realm.org_type) }}<br />
<b>Plan type</b>: {{ get_plan_type_name(remote_realm.plan_type) }}<br />
<b>Non-guest user count</b>: {{ support_data[remote_realm.id].user_data.non_guest_user_count }}<br />
<b>Guest user count</b>: {{ support_data[remote_realm.id].user_data.guest_user_count }}<br />