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.

stream_types: Add admin permissions note below advanced configurations.

Shubham Padia82c04ebe9e65
diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.py
index b6142338e51..0160ecf40b4 100644
--- a/tools/lib/capitalization.py
+++ b/tools/lib/capitalization.py
@@ -177,8 +177,6 @@ IGNORED_PHRASES = [
r"hours",
r"days",
r"weeks",
- # Used in "Who can unsubscribe others from this channel" label.
- r"in addition to organization administrators",
]
# Sort regexes in descending order of their lengths. As a result, the
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 389b49c7745..141641f90e8 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -487,6 +487,12 @@ input[type="checkbox"] {
font-size: 20px;
}
}
+
+ .advanced-configurations-collapase-view {
+ .admin-permissions-tip {
+ margin-bottom: 1em;
+ }
+ }
}
.organization-settings-parent {
diff --git a/web/templates/stream_settings/stream_types.hbs b/web/templates/stream_settings/stream_types.hbs
index 739e1e59866..09b23a13716 100644
--- a/web/templates/stream_settings/stream_types.hbs
+++ b/web/templates/stream_settings/stream_types.hbs
@@ -52,6 +52,10 @@
{{/if}}
</div>
<div class="advanced-configurations-collapase-view hide">
+ <div class="admin-permissions-tip">
+ {{t 'Channel administrators can add and remove subscribers.
+ Organization administrators can automatically administer all channels.'}}
+ </div>
{{> ../settings/group_setting_value_pill_input
setting_name="can_send_message_group"
@@ -62,19 +66,16 @@
{{> ../settings/group_setting_value_pill_input
setting_name="can_administer_channel_group"
label=(t 'Who can administer this channel')
- label_parens_text=(t 'in addition to organization administrators')
prefix=prefix }}
{{> ../settings/group_setting_value_pill_input
setting_name="can_add_subscribers_group"
label=(t 'Who can subscribe others to this channel')
- label_parens_text=(t 'in addition to organization administrators')
prefix=prefix }}
{{> ../settings/group_setting_value_pill_input
setting_name="can_remove_subscribers_group"
label=(t 'Who can unsubscribe others from this channel')
- label_parens_text=(t 'in addition to organization administrators')
prefix=prefix }}