diff --git a/resources/views/clients/show.blade.php b/resources/views/clients/show.blade.php
index 215b6d6f1d58..cf42a9d40f8b 100644
--- a/resources/views/clients/show.blade.php
+++ b/resources/views/clients/show.blade.php
@@ -171,18 +171,12 @@
{{ trans('texts.contacts') }}
- @foreach ($client->contacts as $contact)
+ @foreach ($client->contacts as $contact)
@if ($contact->first_name || $contact->last_name)
{{ $contact->first_name.' '.$contact->last_name }}
@endif
@if ($contact->email)
-
{!! HTML::mailto($contact->email, $contact->email) !!}
- @if (config('services.postmark'))
- |
- {{ trans('texts.history') }}
-
- @endif
-
+
{!! HTML::mailto($contact->email, $contact->email) !!}
@endif
@if ($contact->phone)
{{ $contact->phone }}
@@ -197,11 +191,16 @@
@if (Auth::user()->confirmed && $client->account->enable_client_portal)
{{ trans('texts.view_in_portal') }}
-
+ onclick="window.open('{{ $contact->link }}?silent=true', '_blank');return false;">{{ trans('texts.view_in_portal') }}
+ @if (config('services.postmark'))
+ |
+ {{ trans('texts.email_history') }}
+
+ @endif
+
@endif
- @endforeach
+ @endforeach