diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-18 23:59:04 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:43:08 -0500 |
commit | dc5526f4ae8c9d3a6f132b2bc72914b95e5286cc (patch) | |
tree | 511631c5b0b87d0b8c4dae207af03aa80d54be73 /app/views/settings/profiles | |
parent | c6ede2d0eef48df6f9a70bb9c2036d688bda35af (diff) |
[Privacy, Federation, UI] Add options to allow Fediverse users to decide whether to include replies and unlisted posts on their profiles
Diffstat (limited to 'app/views/settings/profiles')
-rw-r--r-- | app/views/settings/profiles/show.html.haml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index d2f6dc9ba..828b3ee4c 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -28,13 +28,25 @@ .fields-group = f.input :bot, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.bot') + + %h4= t 'settings.profiles.privacy' + + %p.hint= t 'settings.profiles.privacy_html' - if Setting.profile_directory .fields-group - = f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable'), recommended: true + = f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable') + + .fields-group + = f.input :show_replies, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.show_replies') + .fields-group + = f.input :show_unlisted, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.show_unlisted') + %h4= t 'settings.profiles.advanced_privacy' + %p.hint= t 'settings.profiles.advanced_privacy_html' + .fields-group = f.input :require_dereference, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.require_dereference_html') |