2
0

Split timeline_preview setting into more granular settings (#36338)

This commit is contained in:
Claire
2025-10-06 10:34:05 +02:00
committed by GitHub
parent 62f91eddf4
commit 2d2c525097
88 changed files with 156 additions and 173 deletions

View File

@@ -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')