parent
997d744cea
commit
19e2272122
4 changed files with 21 additions and 22 deletions
|
@ -37,26 +37,6 @@
|
|||
label: I18n.t('simple_form.labels.defaults.setting_default_sensitive'),
|
||||
wrapper: :with_label
|
||||
|
||||
- if Setting.enable_emoji_reaction
|
||||
%h4= t 'preferences.emoji_reaction_permitting'
|
||||
|
||||
.fields-row
|
||||
.fields-group.fields-row__column.fields-row__column-12
|
||||
= ff.input :emoji_reaction_policy,
|
||||
collection: %w(allow outside_only followers_only following_only mutuals_only block),
|
||||
collection_wrapper_tag: 'ul',
|
||||
hint: false,
|
||||
include_blank: false,
|
||||
item_wrapper_tag: 'li',
|
||||
kmyblue: true,
|
||||
label: I18n.t('simple_form.labels.defaults.setting_emoji_reaction_policy'),
|
||||
label_method: ->(item) { safe_join([t("simple_form.labels.defaults.setting_emoji_reaction_policy_items.#{item}")]) },
|
||||
warning_hint: I18n.t('simple_form.hints.defaults.setting_emoji_reaction_policy'),
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-group
|
||||
= ff.input :slip_local_emoji_reaction, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_slip_local_emoji_reaction')
|
||||
|
||||
- if @dtl_enabled
|
||||
|
||||
%h4= t 'preferences.dtl'
|
||||
|
|
|
@ -21,6 +21,25 @@
|
|||
.fields-group
|
||||
= ff.input :allow_quote, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_allow_quote'), hint: I18n.t('simple_form.hints.defaults.setting_allow_quote')
|
||||
|
||||
- if Setting.enable_emoji_reaction
|
||||
%h4= t 'preferences.emoji_reaction_permitting'
|
||||
|
||||
.fields-row
|
||||
.fields-group.fields-row__column.fields-row__column-12
|
||||
= ff.input :emoji_reaction_policy,
|
||||
collection: %w(allow outside_only followers_only following_only mutuals_only block),
|
||||
collection_wrapper_tag: 'ul',
|
||||
hint: I18n.t('simple_form.hints.defaults.setting_emoji_reaction_policy'),
|
||||
include_blank: false,
|
||||
item_wrapper_tag: 'li',
|
||||
kmyblue: true,
|
||||
label: I18n.t('simple_form.labels.defaults.setting_emoji_reaction_policy'),
|
||||
label_method: ->(item) { safe_join([t("simple_form.labels.defaults.setting_emoji_reaction_policy_items.#{item}")]) },
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-group
|
||||
= ff.input :slip_local_emoji_reaction, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_slip_local_emoji_reaction')
|
||||
|
||||
%h4= t 'privacy_extra.stop_deliver'
|
||||
|
||||
%p.lead= t('privacy_extra.stop_deliver_hint_html')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue