about summary refs log tree commit diff
path: root/app/views/admin/settings
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-12 11:45:39 +0100
committerGitHub <noreply@github.com>2022-11-12 11:45:39 +0100
commit210341fba168533069f12172f61090ea45603778 (patch)
tree85940c4e0efe18e7b32866044aab9fd276c9effc /app/views/admin/settings
parentc813df2ebb0483236d95797d1bb840b48b95d290 (diff)
parentaf89b14628c648e95cc8a920f2ff886b9c61ffdf (diff)
Merge pull request #1918 from ClearlyClaire/glitch-soc/features/glitch-label
Add “Glitch-only” label to some settings
Diffstat (limited to 'app/views/admin/settings')
-rw-r--r--app/views/admin/settings/discovery/show.html.haml2
-rw-r--r--app/views/admin/settings/registrations/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml
index 9b6424c79..3983b563b 100644
--- a/app/views/admin/settings/discovery/show.html.haml
+++ b/app/views/admin/settings/discovery/show.html.haml
@@ -19,7 +19,7 @@
     = f.input :trendable_by_default, as: :boolean, wrapper: :with_label, recommended: :not_recommended
 
   .fields-group
-    = f.input :trending_status_cw, as: :boolean, wrapper: :with_label, label: t('admin.settings.trending_status_cw.title'), hint: t('admin.settings.trending_status_cw.desc_html')
+    = f.input :trending_status_cw, as: :boolean, wrapper: :with_label, label: t('admin.settings.trending_status_cw.title'), hint: t('admin.settings.trending_status_cw.desc_html'), glitch_only: true
 
   %h4= t('admin.settings.discovery.public_timelines')
 
diff --git a/app/views/admin/settings/registrations/show.html.haml b/app/views/admin/settings/registrations/show.html.haml
index f5e448125..0d7d49dc8 100644
--- a/app/views/admin/settings/registrations/show.html.haml
+++ b/app/views/admin/settings/registrations/show.html.haml
@@ -19,7 +19,7 @@
 
   - if captcha_available?
     .fields-group
-      = f.input :captcha_enabled, as: :boolean, wrapper: :with_label, label: t('admin.settings.captcha_enabled.title'), hint: t('admin.settings.captcha_enabled.desc_html')
+      = f.input :captcha_enabled, as: :boolean, wrapper: :with_label, label: t('admin.settings.captcha_enabled.title'), hint: t('admin.settings.captcha_enabled.desc_html'), glitch_only: true
 
   .fields-group
     = f.input :closed_registrations_message, as: :text, wrapper: :with_block_label, input_html: { rows: 2 }