From 89d22ed7e17e0bfc402588e097e01a41ad10f8c8 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 2 Jun 2022 09:41:30 +0200 Subject: [PATCH] Apply company color to message layout pages too --- application/controllers/Booking_cancellation.php | 1 + application/controllers/Booking_confirmation.php | 1 + application/views/components/company_color_style.php | 2 +- application/views/layouts/backend_layout.php | 2 ++ application/views/layouts/booking_layout.php | 4 +--- application/views/layouts/message_layout.php | 2 ++ 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/application/controllers/Booking_cancellation.php b/application/controllers/Booking_cancellation.php index f5019948..ecde3eb8 100755 --- a/application/controllers/Booking_cancellation.php +++ b/application/controllers/Booking_cancellation.php @@ -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'), diff --git a/application/controllers/Booking_confirmation.php b/application/controllers/Booking_confirmation.php index 858f58e5..a0ff1e84 100755 --- a/application/controllers/Booking_confirmation.php +++ b/application/controllers/Booking_confirmation.php @@ -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, diff --git a/application/views/components/company_color_style.php b/application/views/components/company_color_style.php index 30ff4c45..de067888 100644 --- a/application/views/components/company_color_style.php +++ b/application/views/components/company_color_style.php @@ -4,7 +4,7 @@ */ ?> - +