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.

edit streams: Change headings and move filter box.

Steve Howell87aa318e3a52
diff --git a/static/js/stream_edit_subscribers.js b/static/js/stream_edit_subscribers.js
index 426949d108f..26488c4329b 100644
--- a/static/js/stream_edit_subscribers.js
+++ b/static/js/stream_edit_subscribers.js
@@ -265,7 +265,7 @@ function remove_subscriber({stream_id, target_user_id, list_entry}) {
}
export function update_subscribers_list(sub) {
- // This is for the "Stream membership" section of the right panel.
+ // This is for the "Subscribers" tab of the right panel.
// Render subscriptions only if stream settings is open
if (!hash_util.is_editing_stream(sub.stream_id)) {
blueslip.info("ignoring subscription for stream that is no longer being edited");
diff --git a/static/templates/stream_settings/stream_members.hbs b/static/templates/stream_settings/stream_members.hbs
index 5286a541a8e..608835081d8 100644
--- a/static/templates/stream_settings/stream_members.hbs
+++ b/static/templates/stream_settings/stream_members.hbs
@@ -1,18 +1,21 @@
{{#render_subscribers}}
<div class="subscriber_list_settings_container" {{#unless can_access_subscribers}}style="display: none"{{/unless}}>
+ <h4 class="stream_setting_subsection_title">
+ {{t "Add subscribers" }}
+ </h4>
<div class="subscriber_list_settings">
- <h3 class="stream_setting_subsection_title float-left">
- {{t "Stream membership" }}
- </h3>
- <div class="subscriber-search float-right">
- <input type="text" class="search" placeholder="{{t 'Filter subscribers' }}" />
- </div>
<div class="subscriber_list_add float-left">
{{> add_subscribers_form}}
<div class="stream_subscription_request_result"></div>
</div>
<div class="clear-float"></div>
</div>
+ <div>
+ <h4 class="inline-block stream_setting_subsection_title">{{t "Subscribers"}}</h4>
+ <span class="subscriber-search float-right">
+ <input type="text" class="search" placeholder="{{t 'Filter subscribers' }}" />
+ </span>
+ </div>
<div class="subscriber-list-box">
<div class="subscriber_list_container" data-simplebar>
<div class="subscriber_list_loading_indicator"></div>
diff --git a/templates/zerver/help/add-or-remove-users-from-a-stream.md b/templates/zerver/help/add-or-remove-users-from-a-stream.md
index 85530610c35..e078f0d61ef 100644
--- a/templates/zerver/help/add-or-remove-users-from-a-stream.md
+++ b/templates/zerver/help/add-or-remove-users-from-a-stream.md
@@ -17,7 +17,7 @@ to a stream][configure-invites].
1. Select a stream.
-1. Under **Stream membership**, enter a name or email address. The typeahead
+1. Under **Add subscribers**, enter a name or email address. The typeahead
will only include users who aren't already subscribed to the stream.
1. Click **Add**.
@@ -39,9 +39,9 @@ including streams the admin is not subscribed to.
1. Select a stream.
-1. Under **Stream membership**, find the user you would like to remove.
+1. Under **Subscribers**, find the user you would like to remove.
-1. Click **Unsubscribe** to the right of their email address.
+1. Click the **Unsubscribe** button in that row.
{end_tabs}