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.

user groups: Miscellaneous fixes to new user groups settings overlay.

m-e-l-u-h-a-nf494daba956b
diff --git a/web/src/user_group_edit_members.js b/web/src/user_group_edit_members.js
index 1c96d8933b1..322349c0f26 100644
--- a/web/src/user_group_edit_members.js
+++ b/web/src/user_group_edit_members.js
@@ -51,7 +51,7 @@ function format_member_list_elem(person) {
user_id: person.user_id,
is_current_user: person.user_id === page_params.user_id,
email: person.delivery_email,
- can_edit_subscribers: user_group_edit.can_edit(current_group_id),
+ can_remove_subscribers: user_group_edit.can_edit(current_group_id),
});
}
diff --git a/web/src/user_groups_settings_ui.js b/web/src/user_groups_settings_ui.js
index 7224a259022..085b2fd1abe 100644
--- a/web/src/user_groups_settings_ui.js
+++ b/web/src/user_groups_settings_ui.js
@@ -217,6 +217,7 @@ export function setup_page(callback) {
);
},
},
+ init_sort: ["alphabetic", "name"],
$simplebar_container: $container,
});
diff --git a/web/templates/user_group_settings/user_group_settings.hbs b/web/templates/user_group_settings/user_group_settings.hbs
index 97b65253415..48a67dca2e9 100644
--- a/web/templates/user_group_settings/user_group_settings.hbs
+++ b/web/templates/user_group_settings/user_group_settings.hbs
@@ -2,7 +2,7 @@
<div class="tab-container"></div>
<div class="button-group">
{{#if can_edit}}
- <button class="button small rounded btn-danger deactivate" type="button" name="delete_button"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>
+ <button class="button small rounded btn-danger deactivate tippy-zulip-tooltip" data-tippy-content="{{t 'Delete group'}}" type="button" name="delete_button"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>
{{/if}}
</div>
</div>