mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Add "Back to :url" link on client portal login page
This commit is contained in:
parent
540e1a53cf
commit
ce4d64a1a7
@ -4286,6 +4286,7 @@ $LANG = array(
|
||||
'user_created_user' => ':user created :created_user at :time',
|
||||
'company_deleted' => 'Company deleted',
|
||||
'company_deleted_body' => 'Company [ :company ] was deleted by :user',
|
||||
'back_to' => 'Back to :url',
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
@ -73,6 +73,14 @@
|
||||
<a class="button-link text-sm" href="{{ route('client.register') }}">{{ ctrans('texts.register_label') }}</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(!is_null($company) && !empty($company->getSetting('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>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user