Skip to content

Commit

Permalink
Change: #845 絵文字リアクションのストリーミングを止める設定をその他設定に移動
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 1, 2024
1 parent 007ed79 commit 63f8b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/views/settings/preferences/notifications/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@
label_method: ->(setting) { I18n.t("simple_form.labels.notification_emails.software_updates.#{setting}") },
label: I18n.t('simple_form.labels.notification_emails.software_updates.label'),
wrapper: :with_label

- if Setting.enable_emoji_reaction
= f.simple_fields_for :settings, current_user.settings do |ff|
.fields-group
= ff.input :stop_emoji_reaction_streaming, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_stop_emoji_reaction_streaming'), hint: I18n.t('simple_form.hints.defaults.setting_stop_emoji_reaction_streaming')
4 changes: 4 additions & 0 deletions app/views/settings/preferences/other/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
label: I18n.t('simple_form.labels.defaults.setting_default_sensitive'),
wrapper: :with_label

- if Setting.enable_emoji_reaction
.fields-group
= ff.input :stop_emoji_reaction_streaming, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_stop_emoji_reaction_streaming'), hint: I18n.t('simple_form.hints.defaults.setting_stop_emoji_reaction_streaming')

- if @dtl_enabled

%h4= t 'preferences.dtl'
Expand Down

0 comments on commit 63f8b0d

Please sign in to comment.