diff options
author | pluralcafe-docker <git@plural.cafe> | 2018-12-17 01:28:17 +0000 |
---|---|---|
committer | pluralcafe-docker <git@plural.cafe> | 2018-12-17 01:28:17 +0000 |
commit | f290c5e2c337bb0aab82cb23653d4ff084ba8bbe (patch) | |
tree | 65712093ee4852a04fab5160cea341cb80f91747 /app/views/settings/profiles | |
parent | 87f09d3bebd2d890ecad19d360fc687f1a57f3b0 (diff) | |
parent | 396c5dea87f259255f3676bb7b30f5cfdfec9d4e (diff) |
Merge branch 'glitch'
Diffstat (limited to 'app/views/settings/profiles')
-rw-r--r-- | app/views/settings/profiles/show.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index 212c6cb44..05cc93d69 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -26,8 +26,9 @@ .fields-group = f.input :bot, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.bot') - .fields-group - = f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable_html', min_followers: Account::MIN_FOLLOWERS_DISCOVERY, path: explore_path) + - if Setting.profile_directory + .fields-group + = f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable_html', min_followers: Account::MIN_FOLLOWERS_DISCOVERY, path: explore_path) %hr.spacer/ |