From 333b3904b5875f831a0dbfd72cea684e65aa126b Mon Sep 17 00:00:00 2001 From: Shubham Padia Date: Mon, 6 Jan 2025 06:45:41 +0000 Subject: [PATCH] user_group_settings: Use user-group-x icon for deactivate button. --- docs/THIRDPARTY | 5 +++++ help/manage-user-groups.md | 2 +- web/shared/icons/user-group-x.svg | 9 +++++++++ web/styles/subscriptions.css | 5 +++++ .../user_group_settings/user_group_settings.hbs | 2 +- 5 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 web/shared/icons/user-group-x.svg diff --git a/docs/THIRDPARTY b/docs/THIRDPARTY index c4f65d61ab..fac9af94d5 100644 --- a/docs/THIRDPARTY +++ b/docs/THIRDPARTY @@ -247,6 +247,11 @@ Copyright: 2013-2023 Cole Bemis (https://feathericons.com) License: Expat Comment: Custom made out of feather icons by Vlad Koborov +Files: web/shared/icons/user-group-x.svg +Copyright: 2013-2024 Cole Bemis (https://feathericons.com) +License: Expat +Comment: Custom made out of feather icons by Vlad Koborov + Files: web/shared/icons/unmute.svg Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:volume_up Copyright: Google, Inc. diff --git a/help/manage-user-groups.md b/help/manage-user-groups.md index d74446d69c..c13463c323 100644 --- a/help/manage-user-groups.md +++ b/help/manage-user-groups.md @@ -127,7 +127,7 @@ 1. Select a user group. -1. Click the **Deactivate group** () button in the +1. Click the **Deactivate group** () button in the upper right corner of the user group settings panel. 1. Click **Confirm**. diff --git a/web/shared/icons/user-group-x.svg b/web/shared/icons/user-group-x.svg new file mode 100644 index 0000000000..a302c0ff6a --- /dev/null +++ b/web/shared/icons/user-group-x.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css index f514d85827..70c93f0fd6 100644 --- a/web/styles/subscriptions.css +++ b/web/styles/subscriptions.css @@ -911,6 +911,11 @@ h4.user_group_setting_subsection_title { display: flex; } } + + /* We need this rule to center the user-group-x icon better */ + .deactivate-group-button { + padding: 8px 10px 4px; + } } } diff --git a/web/templates/user_group_settings/user_group_settings.hbs b/web/templates/user_group_settings/user_group_settings.hbs index f88e025230..3b0a319940 100644 --- a/web/templates/user_group_settings/user_group_settings.hbs +++ b/web/templates/user_group_settings/user_group_settings.hbs @@ -10,7 +10,7 @@ {{/if}} - +