Add “Glitch-only” label to glitch-specific settings

This commit is contained in:
Claire
2022-11-12 10:09:27 +01:00
parent c813df2ebb
commit 6a96b17a2d
8 changed files with 27 additions and 8 deletions

View File

@@ -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')

View File

@@ -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 }