From dda0200a9483d828c4b77c3479bf9644241f8695 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 10 Jun 2019 19:54:22 +0100 Subject: [PATCH] Added note to custom HTML head input To warn of being inactive while viewing the settings page. Closes #1144 --- resources/lang/en/settings.php | 1 + resources/views/settings/index.blade.php | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index e6c24f5a1..4685c1ede 100755 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -29,6 +29,7 @@ return [ 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.', 'app_custom_html' => 'Custom HTML Head Content', 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the section of every page. This is handy for overriding styles or adding analytics code.', + 'app_custom_html_warning' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.', 'app_logo' => 'Application Logo', 'app_logo_desc' => 'This image should be 43px in height.
Large images will be scaled down.', 'app_primary_color' => 'Application Primary Color', diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 8d19409dd..9fccf1448 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -166,6 +166,7 @@

{{ trans('settings.app_custom_html_desc') }}

+

{{ trans('settings.app_custom_html_warning') }}