diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-05-30 16:47:17 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-05-30 18:27:00 +0200 |
commit | 9e04b9d8dfc57304e9c409e2bc20d838d673d432 (patch) | |
tree | ddde9cae3f5076611ddfbe12ce7e6d9f6455eb05 /app/views/admin | |
parent | 041c7691827357ceecb5c2d1ef47761b097be163 (diff) |
Add support for setting Content Warning for CW-less outgoing toots
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/settings/edit.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/settings/edit.html.haml b/app/views/admin/settings/edit.html.haml index bff706389..108846ca9 100644 --- a/app/views/admin/settings/edit.html.haml +++ b/app/views/admin/settings/edit.html.haml @@ -109,6 +109,9 @@ = f.input :show_domain_blocks_rationale, wrapper: :with_label, collection: %i(disabled users all), label: t('admin.settings.domain_blocks_rationale.title'), label_method: lambda { |value| t("admin.settings.domain_blocks.#{value}") }, include_blank: false, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li' .fields-group + = f.input :outgoing_spoilers, wrapper: :with_label, label: t('admin.settings.outgoing_spoilers.title'), hint: t('admin.settings.outgoing_spoilers.desc_html') + + .fields-group = f.input :site_extended_description, wrapper: :with_block_label, as: :text, label: t('admin.settings.site_description_extended.title'), hint: t('admin.settings.site_description_extended.desc_html'), input_html: { rows: 8 } unless whitelist_mode? = f.input :closed_registrations_message, as: :text, wrapper: :with_block_label, label: t('admin.settings.registrations.closed_message.title'), hint: t('admin.settings.registrations.closed_message.desc_html'), input_html: { rows: 8 } = f.input :site_terms, wrapper: :with_block_label, as: :text, label: t('admin.settings.site_terms.title'), hint: t('admin.settings.site_terms.desc_html'), input_html: { rows: 8 } |