From 1ed28fb1d67f1b944e3153933840c7185b8c6d97 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 10 Oct 2024 09:34:36 +1100 Subject: [PATCH 01/81] Improve privacy and terms section of client portal --- .../components/general/footer.blade.php | 4 +- .../components/general/pop-up.blade.php | 38 ++++++++++--------- .../general/vendor_footer.blade.php | 4 +- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/resources/views/portal/ninja2020/components/general/footer.blade.php b/resources/views/portal/ninja2020/components/general/footer.blade.php index f00ad63f105..d2e4320eb0d 100644 --- a/resources/views/portal/ninja2020/components/general/footer.blade.php +++ b/resources/views/portal/ninja2020/components/general/footer.blade.php @@ -34,13 +34,13 @@ @if(strlen($client->getSetting('client_portal_privacy_policy')) > 1) @component('portal.ninja2020.components.general.pop-up', ['title' => __('texts.privacy_policy') ,'show_property' => 'privacy']) - {!! $client->getSetting('client_portal_privacy_policy') !!} + {{ $client->getSetting('client_portal_privacy_policy') }} @endcomponent @endif @if(strlen($client->getSetting('client_portal_terms')) > 1) @component('portal.ninja2020.components.general.pop-up', ['title' => __('texts.terms') ,'show_property' => 'tos']) - {!! $client->getSetting('client_portal_terms') !!} + {{ $client->getSetting('client_portal_terms') }} @endcomponent @endif diff --git a/resources/views/portal/ninja2020/components/general/pop-up.blade.php b/resources/views/portal/ninja2020/components/general/pop-up.blade.php index 5ef6c888749..692ab2958c5 100644 --- a/resources/views/portal/ninja2020/components/general/pop-up.blade.php +++ b/resources/views/portal/ninja2020/components/general/pop-up.blade.php @@ -1,26 +1,28 @@