about summary refs log tree commit diff
path: root/app/views/admin/settings
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-04-30 21:51:24 +0200
committerThibG <thib@sitedethib.com>2019-05-01 22:33:09 +0200
commitfcbf557bd2c4db3734e328ffe434895457836478 (patch)
tree0a9926a3a39857e1f9ea25fd5e197fa94993d6f1 /app/views/admin/settings
parentcc5a81b7d87fbd0db67781ebc21e3805876fbb74 (diff)
Add site-wide options to show reblogs and replies in local/public timelines
Fixes #1021
Diffstat (limited to 'app/views/admin/settings')
-rw-r--r--app/views/admin/settings/edit.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/settings/edit.html.haml b/app/views/admin/settings/edit.html.haml
index 8f7acde5f..a8c9f6a58 100644
--- a/app/views/admin/settings/edit.html.haml
+++ b/app/views/admin/settings/edit.html.haml
@@ -72,6 +72,12 @@
   .fields-group
     = f.input :enable_keybase, as: :boolean, wrapper: :with_label, label: t('admin.settings.enable_keybase.title'), hint: t('admin.settings.enable_keybase.desc_html')
 
+  .fields-group
+    = f.input :show_reblogs_in_public_timelines, as: :boolean, wrapper: :with_label, label: t('admin.settings.show_reblogs_in_public_timelines.title'), hint: t('admin.settings.show_reblogs_in_public_timelines.desc_html')
+
+  .fields-group
+    = f.input :show_replies_in_public_timelines, as: :boolean, wrapper: :with_label, label: t('admin.settings.show_replies_in_public_timelines.title'), hint: t('admin.settings.show_replies_in_public_timelines.desc_html')
+
   %hr.spacer/
 
   .fields-group