mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 20:56:55 +08:00
Added note to custom HTML head input
To warn of being inactive while viewing the settings page. Closes #1144
This commit is contained in:
parent
53ba5b7e33
commit
dda0200a94
|
@ -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 <head> 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. <br>Large images will be scaled down.',
|
||||
'app_primary_color' => 'Application Primary Color',
|
||||
|
|
|
@ -166,6 +166,7 @@
|
|||
<label for="setting-app-custom-head" class="setting-list-label">{{ trans('settings.app_custom_html') }}</label>
|
||||
<p class="small">{{ trans('settings.app_custom_html_desc') }}</p>
|
||||
<textarea name="setting-app-custom-head" id="setting-app-custom-head" class="simple-code-input mt-m">{{ setting('app-custom-head', '') }}</textarea>
|
||||
<p class="small text-right">{{ trans('settings.app_custom_html_warning') }}</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user