mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 09:24:33 -04:00
Update login page to use presenter
This commit is contained in:
parent
8dd09be143
commit
11a7d9333e
@ -77,10 +77,10 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(!is_null($company) && !empty($company->getSetting('website')))
|
||||
@if(!empty($company->present()->website()))
|
||||
<div class="mt-5 text-center">
|
||||
<a class="button-link text-sm" href="{{ $company->getSetting('website') }}">
|
||||
{{ ctrans('texts.back_to', ['url' => parse_url($company->getSetting('website'))['host'] ?? $company->getSetting('website') ]) }}
|
||||
<a class="button-link text-sm" href="{{ $company->present()->website() }}">
|
||||
{{ ctrans('texts.back_to', ['url' => parse_url($company->present()->website())['host'] ?? $company->present()->website() ]) }}
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user