Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user groups: Add `+` button to navigate to create user group.
Purushottam Tiwarifdd9f018ad44
diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.cssindex 780740c890c..1cc6569f89c 100644--- a/static/styles/dark_theme.css+++ b/static/styles/dark_theme.css@@ -471,6 +471,7 @@background-color: transparent;}+ .create_user_group_plus_button,.create_stream_plus_button {color: hsl(0, 0%, 100%);background-color: hsla(0, 0%, 0%, 0.2);diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.cssindex 65695e1305c..ed11e2a8fd2 100644--- a/static/styles/subscriptions.css+++ b/static/styles/subscriptions.css@@ -73,6 +73,7 @@margin-right: 10px;}+.create_user_group_plus_button,.create_stream_plus_button {font-size: 24px;font-weight: 500;@@ -95,6 +96,12 @@}}+.create_user_group_button {+ position: relative;+ top: 7px;+ margin: 0 7px 0 0;+}+#create_user_group_description,#create_stream_description {width: calc(100% - 15px);diff --git a/static/templates/user_group_settings/user_group_settings_overlay.hbs b/static/templates/user_group_settings/user_group_settings_overlay.hbsindex 5290efb4836..70c5bab7830 100644--- a/static/templates/user_group_settings/user_group_settings_overlay.hbs+++ b/static/templates/user_group_settings/user_group_settings_overlay.hbs@@ -15,6 +15,12 @@<button type="button" class="btn clear_search_button" id="clear_search_group_name"><i class="fa fa-remove" aria-hidden="true"></i></button>+ <div id="add_new_user_group" class="tippy-zulip-tooltip" data-tippy-content="{{t 'Create new user group' }}" data-tippy-placement="bottom">+ <button class="create_user_group_button create_user_group_plus_button">+ <span>+</span>+ </button>+ <div class="float-clear"></div>+ </div></div><div class="user-groups-list" data-simplebar></div>