1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Check if confirmed to show portal link

This commit is contained in:
Hillel Coren 2016-09-06 12:12:36 +03:00
parent 657f5c066c
commit c45a3b030c

View File

@ -148,7 +148,7 @@
@if ($contact->phone)
<i class="fa fa-phone" style="width: 20px"></i>{{ $contact->phone }}<br/>
@endif
@if ($client->account->enable_client_portal)
@if (Auth::user()->confirmed && $client->account->enable_client_portal)
<i class="fa fa-dashboard" style="width: 20px"></i><a href="{{ $contact->link }}" target="_blank">{{ trans('texts.view_client_portal') }}</a><br/>
@endif
@endforeach