Split timeline_preview setting into more granular settings (#36338)
This commit is contained in:
@@ -30,10 +30,35 @@
|
||||
|
||||
%h4= t('admin.settings.discovery.public_timelines')
|
||||
|
||||
.fields-group
|
||||
= f.input :timeline_preview,
|
||||
as: :boolean,
|
||||
wrapper: :with_label
|
||||
.fields-row
|
||||
.fields-row__column.fields-row__column-6.fields-group
|
||||
= f.input :local_live_feed_access,
|
||||
collection: f.object.class::FEED_ACCESS_MODES,
|
||||
include_blank: false,
|
||||
label_method: ->(mode) { I18n.t("admin.settings.feed_access.modes.#{mode}") },
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-row__column.fields-row__column-6.fields-group
|
||||
= f.input :remote_live_feed_access,
|
||||
collection: f.object.class::FEED_ACCESS_MODES,
|
||||
include_blank: false,
|
||||
label_method: ->(mode) { I18n.t("admin.settings.feed_access.modes.#{mode}") },
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-row
|
||||
.fields-row__column.fields-row__column-6.fields-group
|
||||
= f.input :local_topic_feed_access,
|
||||
collection: f.object.class::FEED_ACCESS_MODES,
|
||||
include_blank: false,
|
||||
label_method: ->(mode) { I18n.t("admin.settings.feed_access.modes.#{mode}") },
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-row__column.fields-row__column-6.fields-group
|
||||
= f.input :remote_topic_feed_access,
|
||||
collection: f.object.class::FEED_ACCESS_MODES,
|
||||
include_blank: false,
|
||||
label_method: ->(mode) { I18n.t("admin.settings.feed_access.modes.#{mode}") },
|
||||
wrapper: :with_label
|
||||
|
||||
%h4= t('admin.settings.discovery.privacy')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user