Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Update empty message for subscribers and members list.
Sahil Batra5ece91437785
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 36839598f2f..ec8cde0ac1d 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -174,15 +174,6 @@ h4.user_group_setting_subsection_title {display: inline-block;}- & tbody:empty::after,- &:empty::after {- content: "No subscribers to this stream.";- display: block;-- color: hsl(0deg 0% 67%);- padding: 5px 5px 5px 10px;- }-& thead th {&:first-of-type {border-top-left-radius: 4px;diff --git a/web/templates/stream_settings/new_stream_users.hbs b/web/templates/stream_settings/new_stream_users.hbsindex c93e595cf3d..4c5110fe77c 100644--- a/web/templates/stream_settings/new_stream_users.hbs+++ b/web/templates/stream_settings/new_stream_users.hbs@@ -25,7 +25,7 @@<th data-sort="email">{{t "Email" }}</th><th>{{t "Action" }}</th></thead>- <tbody id="create_stream_subscribers" class="subscriber_table"></tbody>+ <tbody id="create_stream_subscribers" class="subscriber_table" data-empty="{{t 'This stream has no subscribers.' }}" data-search-results-empty="{{t 'No stream subscribers match your current filter.'}}"></tbody></table></div></div>diff --git a/web/templates/stream_settings/stream_members.hbs b/web/templates/stream_settings/stream_members.hbsindex c59d5ad6fde..40459da9813 100644--- a/web/templates/stream_settings/stream_members.hbs+++ b/web/templates/stream_settings/stream_members.hbs@@ -27,7 +27,7 @@<th class="actions">{{t "Actions" }}</th>{{/if}}</thead>- <tbody class="subscriber_table"></tbody>+ <tbody class="subscriber_table" data-empty="{{t 'This stream has no subscribers.' }}" data-search-results-empty="{{t 'No stream subscribers match your current filter.'}}"></tbody></table></div></div>diff --git a/web/templates/user_group_settings/new_user_group_users.hbs b/web/templates/user_group_settings/new_user_group_users.hbsindex 37fa02b14a9..2d416efc5e4 100644--- a/web/templates/user_group_settings/new_user_group_users.hbs+++ b/web/templates/user_group_settings/new_user_group_users.hbs@@ -20,7 +20,7 @@<th data-sort="email">{{t "Email" }}</th><th>{{t "Action" }}</th></thead>- <tbody id="create_user_group_members" class="member_table"></tbody>+ <tbody id="create_user_group_members" class="member_table" data-empty="{{t 'This group has no members.' }}" data-search-results-empty="{{t 'No group members match your current filter.'}}"></tbody></table></div></div>diff --git a/web/templates/user_group_settings/user_group_members.hbs b/web/templates/user_group_settings/user_group_members.hbsindex e793c6065ad..6cc46c578a0 100644--- a/web/templates/user_group_settings/user_group_members.hbs+++ b/web/templates/user_group_settings/user_group_members.hbs@@ -24,7 +24,7 @@<th data-sort="email">{{t "Email" }}</th><th class="actions" {{#unless can_edit}}style="display:none"{{/unless}}>{{t "Actions" }}</th></thead>- <tbody class="member_table"></tbody>+ <tbody class="member_table" data-empty="{{t 'This group has no members.' }}" data-search-results-empty="{{t 'No group members match your current filter.'}}"></tbody></table></div></div>