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