Skip to content

Commit dda0200

Browse files
committed
Added note to custom HTML head input
To warn of being inactive while viewing the settings page. Closes BookStackApp#1144
1 parent 53ba5b7 commit dda0200

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

resources/lang/en/settings.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',
3030
'app_custom_html' => 'Custom HTML Head Content',
3131
'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
32+
'app_custom_html_warning' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
3233
'app_logo' => 'Application Logo',
3334
'app_logo_desc' => 'This image should be 43px in height. <br>Large images will be scaled down.',
3435
'app_primary_color' => 'Application Primary Color',

resources/views/settings/index.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
<label for="setting-app-custom-head" class="setting-list-label">{{ trans('settings.app_custom_html') }}</label>
167167
<p class="small">{{ trans('settings.app_custom_html_desc') }}</p>
168168
<textarea name="setting-app-custom-head" id="setting-app-custom-head" class="simple-code-input mt-m">{{ setting('app-custom-head', '') }}</textarea>
169+
<p class="small text-right">{{ trans('settings.app_custom_html_warning') }}</p>
169170
</div>
170171

171172

0 commit comments

Comments
 (0)