Increase font size, add helper text to Edit LS Config page.

This commit is contained in:
Buster "Silver Eagle" Neece 2020-02-23 10:53:00 -06:00
parent 82b9ec685d
commit d0ecc88aac
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
3 changed files with 15 additions and 5 deletions

View File

@ -7,8 +7,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2020-02-23T12:56:39+00:00\n"
"PO-Revision-Date: 2020-02-23T12:56:39+00:00\n"
"POT-Creation-Date: 2020-02-23T16:48:57+00:00\n"
"PO-Revision-Date: 2020-02-23T16:48:57+00:00\n"
"Language: \n"
#: /var/azuracast/www/src/Acl.php:77
@ -1065,7 +1065,15 @@ msgid "<b>Do not use</b> an AutoDJ service"
msgstr ""
#: /var/azuracast/www/src/Radio/Backend/Liquidsoap.php:143
msgid "# Customize your Liquidsoap generated configuration below."
msgid "Welcome to the AzuraCast Liquidsoap configuration editor."
msgstr ""
#: /var/azuracast/www/src/Radio/Backend/Liquidsoap.php:144
msgid "Using this page, you can customize several sections of the Liquidsoap configuration."
msgstr ""
#: /var/azuracast/www/src/Radio/Backend/Liquidsoap.php:145
msgid "The non-editable sections are automatically generated by AzuraCast."
msgstr ""
#: /var/azuracast/www/src/Service/IpGeolocation.php:38

View File

@ -77,7 +77,7 @@ class EditLiquidsoapConfigController
$formConfig['groups']['ls_config']['elements']['config_section_' . $i] = [
'markup',
[
'markup' => '<pre>' . $tok . '</pre>',
'markup' => '<pre class="typography-body-1">' . $tok . '</pre>',
],
];
}

View File

@ -140,7 +140,9 @@ class Liquidsoap extends AbstractBackend implements EventSubscriberInterface
{
if ($event->isForEditing()) {
$event->prependLines([
__('# Customize your Liquidsoap generated configuration below.'),
'# ' . __('Welcome to the AzuraCast Liquidsoap configuration editor.'),
'# ' . __('Using this page, you can customize several sections of the Liquidsoap configuration.'),
'# ' . __('The non-editable sections are automatically generated by AzuraCast.'),
]);
} else {
$event->prependLines([