From 11a7d9333ea74ff3cef69a239a86c1af6df246f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 14 Sep 2021 11:28:23 +0200 Subject: [PATCH] Update login page to use presenter --- resources/views/portal/ninja2020/auth/login.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/portal/ninja2020/auth/login.blade.php b/resources/views/portal/ninja2020/auth/login.blade.php index 0ad0f20d90d2..c8674eeb83a1 100644 --- a/resources/views/portal/ninja2020/auth/login.blade.php +++ b/resources/views/portal/ninja2020/auth/login.blade.php @@ -77,10 +77,10 @@ @endif - @if(!is_null($company) && !empty($company->getSetting('website'))) + @if(!empty($company->present()->website()))
- - {{ ctrans('texts.back_to', ['url' => parse_url($company->getSetting('website'))['host'] ?? $company->getSetting('website') ]) }} + + {{ ctrans('texts.back_to', ['url' => parse_url($company->present()->website())['host'] ?? $company->present()->website() ]) }}
@endif