DEV: Add attributes identifying the setting on the user chat settings (#22139)

This commit is contained in:
Sérgio Saquetim 2023-06-15 23:32:17 -03:00 committed by GitHub
parent d6374fdc53
commit e89c70643b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<label class="control-label">{{i18n "chat.title_capitalized"}}</label>
<div class="control-group chat-setting">
<div class="control-group chat-setting" data-setting-name="user_chat_enabled">
<label class="controls">
<Input
id="user_chat_enabled"
@ -11,7 +11,10 @@
</label>
</div>
<div class="control-group chat-setting">
<div
class="control-group chat-setting"
data-setting-name="user_chat_only_push_notifications"
>
<label class="controls">
<Input
id="user_chat_only_push_notifications"
@ -25,7 +28,10 @@
</span>
</div>
<div class="control-group chat-setting">
<div
class="control-group chat-setting"
data-setting-name="user_chat_ignore_channel_wide_mention"
>
<label class="controls">
<Input
id="user_chat_ignore_channel_wide_mention"
@ -39,7 +45,10 @@
</span>
</div>
<div class="control-group chat-setting controls-dropdown">
<div
class="control-group chat-setting controls-dropdown"
data-setting-name="user_chat_sounds"
>
<label for="user_chat_sounds">{{i18n "chat.sound.title"}}</label>
<ComboBox
@options={{hash none="chat.sounds.none"}}
@ -51,7 +60,10 @@
/>
</div>
<div class="control-group chat-setting controls-dropdown">
<div
class="control-group chat-setting controls-dropdown"
data-setting-name="user_chat_email_frequency"
>
<label for="user_chat_email_frequency">
{{i18n "chat.email_frequency.title"}}
</label>
@ -69,7 +81,10 @@
{{/if}}
</div>
<div class="control-group chat-setting controls-dropdown">
<div
class="control-group chat-setting controls-dropdown"
data-setting-name="user_chat_header_indicator_preference"
>
<label for="user_chat_header_indicator_preference">
{{i18n "chat.header_indicator_preference.title"}}
</label>