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.

channels: Add subtitle when adding subscribers to new channel.

Shubham Padia81ba1bcb61c9
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index c910afc347b..851b90e99ac 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -264,6 +264,10 @@ h4.user_group_setting_subsection_title {
padding-left: 5px;
}
+.add-subscribers-subtitle {
+ opacity: 0.7;
+}
+
.choose-subscribers-label {
display: inline;
}
diff --git a/web/templates/stream_settings/add_subscribers_form.hbs b/web/templates/stream_settings/add_subscribers_form.hbs
index 9d0e1d75c61..4b94291a89b 100644
--- a/web/templates/stream_settings/add_subscribers_form.hbs
+++ b/web/templates/stream_settings/add_subscribers_form.hbs
@@ -1,7 +1,7 @@
<div class="add_subscribers_container add-button-container">
<div class="pill-container person_picker">
<div class="input" contenteditable="true"
- data-placeholder="{{t 'Add subscribers. Use usergroup or #channelname to bulk add subscribers.' }}">
+ data-placeholder="{{t 'Add subscribers.' }}">
{{~! Squash whitespace so that placeholder is displayed when empty. ~}}
</div>
</div>
@@ -17,3 +17,14 @@
</div>
{{/if}}
</div>
+<div class="add-subscribers-subtitle">
+ {{#tr}}
+ You can add subscribers by name or email address.
+ Enter a <z-user-roles-link>user role</z-user-roles-link>,
+ <z-user-groups-link>user group</z-user-groups-link>,
+ or <z-channel-link>#channel</z-channel-link> to add multiple users at once.
+ {{#*inline "z-user-roles-link"}}<a href="/help/user-roles" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
+ {{#*inline "z-user-groups-link"}}<a href="/help/user-groups" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
+ {{#*inline "z-channel-link"}}<a href="/help/introduction-to-channels" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
+ {{/tr}}
+</div>