mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Apply company color to message layout pages too
This commit is contained in:
parent
7cbce26160
commit
89d22ed7e1
6 changed files with 8 additions and 4 deletions
|
@ -61,6 +61,7 @@ class Booking_cancellation extends EA_Controller {
|
|||
{
|
||||
html_vars([
|
||||
'page_title' => lang('appointment_not_found'),
|
||||
'company_color' => setting('company_color'),
|
||||
'message_title' => lang('appointment_not_found'),
|
||||
'message_text' => lang('appointment_does_not_exist_in_db'),
|
||||
'message_icon' => base_url('assets/img/error.png'),
|
||||
|
|
|
@ -56,6 +56,7 @@ class Booking_confirmation extends EA_Controller {
|
|||
|
||||
html_vars([
|
||||
'page_title' => lang('success'),
|
||||
'company_color' => setting('company_color'),
|
||||
'google_analytics_code' => setting('google_analytics_code'),
|
||||
'matomo_analytics_url' => setting('matomo_analytics_url'),
|
||||
'add_to_google_url' => $add_to_google_url,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php if ($company_color !== DEFAULT_COMPANY_COLOR): ?>
|
||||
<?php if ($company_color && $company_color !== DEFAULT_COMPANY_COLOR): ?>
|
||||
<style>
|
||||
/* Generic Overrides */
|
||||
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/backend_layout.css') ?>">
|
||||
|
||||
<?php component('company_color_style', ['company_color' => setting('company_color')]) ?>
|
||||
|
||||
<?php slot('styles') ?>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/booking_layout.css') ?>">
|
||||
|
||||
<?php if (vars('company_color')): ?>
|
||||
<?php component('company_color_style', ['company_color' => vars('company_color')]) ?>
|
||||
<?php endif ?>
|
||||
<?php component('company_color_style', ['company_color' => vars('company_color')]) ?>
|
||||
|
||||
<?php slot('styles') ?>
|
||||
</head>
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/themes/' . setting('theme', 'default') . '.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/booking_layout.css') ?>">
|
||||
|
||||
<?php component('company_color_style', ['company_color' => vars('company_color')]) ?>
|
||||
|
||||
<?php slot('styles') ?>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue