2023-08-14 18:52:45 +02:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('privacy.title')
|
|
|
|
|
|
|
|
- content_for :heading do
|
|
|
|
%h2= t('settings.profile')
|
|
|
|
= render partial: 'settings/shared/profile_navigation'
|
|
|
|
|
|
|
|
= simple_form_for @account, url: settings_privacy_path, html: { method: :put } do |f|
|
|
|
|
= render 'shared/error_messages', object: @account
|
|
|
|
|
|
|
|
%p.lead= t('privacy.hint_html')
|
|
|
|
|
|
|
|
%h4= t('privacy.reach')
|
|
|
|
|
|
|
|
%p.lead= t('privacy.reach_hint_html')
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :discoverable, as: :boolean, wrapper: :with_label, recommended: true
|
|
|
|
|
|
|
|
.fields-group
|
2023-08-17 09:13:26 +02:00
|
|
|
= f.input :unlocked, as: :boolean, wrapper: :with_label
|
2023-08-14 18:52:45 +02:00
|
|
|
|
|
|
|
%h4= t('privacy.search')
|
|
|
|
|
|
|
|
%p.lead= t('privacy.search_hint_html')
|
|
|
|
|
2023-08-24 16:40:04 +02:00
|
|
|
.fields-group
|
|
|
|
= f.input :indexable, as: :boolean, wrapper: :with_label
|
|
|
|
|
2023-08-14 18:52:45 +02:00
|
|
|
= f.simple_fields_for :settings, current_user.settings do |ff|
|
|
|
|
.fields-group
|
|
|
|
= ff.input :indexable, wrapper: :with_label
|
|
|
|
|
|
|
|
%h4= t('privacy.privacy')
|
|
|
|
|
|
|
|
%p.lead= t('privacy.privacy_hint_html')
|
|
|
|
|
|
|
|
.fields-group
|
2023-08-17 09:13:26 +02:00
|
|
|
= f.input :show_collections, as: :boolean, wrapper: :with_label
|
2023-08-14 18:52:45 +02:00
|
|
|
|
|
|
|
= f.simple_fields_for :settings, current_user.settings do |ff|
|
2023-08-22 19:02:02 +02:00
|
|
|
- unless Setting.hide_followers_count
|
|
|
|
.fields-group
|
|
|
|
= ff.input :show_followers_count, wrapper: :with_label, label: I18n.t('simple_form.labels.defaults.setting_show_followers_count'), hint: I18n.t('simple_form.hints.defaults.setting_show_followers_count'), glitch_only: true
|
|
|
|
|
2023-08-14 18:52:45 +02:00
|
|
|
.fields-group
|
|
|
|
= ff.input :show_application, wrapper: :with_label
|
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('generic.save_changes'), type: :submit
|