From 609fc1c94e28ea6cbbc9f5aa49be4fdc7165ca64 Mon Sep 17 00:00:00 2001 From: whilstsomebody Date: Thu, 7 Nov 2024 05:04:34 +0530 Subject: [PATCH] settings: Add id and for attributes for label-input interaction. This commit adds for and id attributes to enable interaction between labels and their corresponding input elements. The changes have been made in the following areas: Channel Settings: -Create Channel > General Configurations -Create Channel > Advanced Configurations Organization Settings: -Organization Profile -Organization Settings -Organization Permissions -Custom Emoji -Bots -Custom Profile Fields -Default User Settings -Data Exports Group Settings: -Create User Group > General Settings -Create User Group > Group Permissions Personal Settings: -Profile -Account & Privacy -Preferences -Notifications -Bots -Alert Words Fixes part of #21769. --- web/templates/change_email_modal.hbs | 2 +- web/templates/dialog_change_password.hbs | 8 ++++++-- web/templates/settings/account_settings.hbs | 10 ++++------ web/templates/settings/add_new_bot_form.hbs | 4 ++-- web/templates/settings/api_key_modal.hbs | 4 +++- .../settings/custom_user_profile_field.hbs | 10 +++++----- .../settings/language_selection_widget.hbs | 4 ++-- .../settings/notification_settings.hbs | 9 ++++----- .../organization_permissions_admin.hbs | 20 +++++++++---------- .../settings/organization_profile_admin.hbs | 4 ++-- .../settings/organization_settings_admin.hbs | 4 ++-- .../organization_user_settings_defaults.hbs | 2 +- .../settings/preferences_general.hbs | 4 ++-- .../settings/preferences_information.hbs | 6 +++--- .../settings/preferences_navigation.hbs | 6 +++--- web/templates/settings/profile_settings.hbs | 2 +- 16 files changed, 51 insertions(+), 48 deletions(-) diff --git a/web/templates/change_email_modal.hbs b/web/templates/change_email_modal.hbs index e76e397593..9648fc0a11 100644 --- a/web/templates/change_email_modal.hbs +++ b/web/templates/change_email_modal.hbs @@ -2,5 +2,5 @@ - + diff --git a/web/templates/dialog_change_password.hbs b/web/templates/dialog_change_password.hbs index 012c70de30..c45f227b8e 100644 --- a/web/templates/dialog_change_password.hbs +++ b/web/templates/dialog_change_password.hbs @@ -1,6 +1,8 @@
- +
@@ -8,7 +10,9 @@
- +
diff --git a/web/templates/settings/account_settings.hbs b/web/templates/settings/account_settings.hbs index a0e35d4873..ee367d14f6 100644 --- a/web/templates/settings/account_settings.hbs +++ b/web/templates/settings/account_settings.hbs @@ -7,7 +7,7 @@ {{#if user_has_email_set}}
-