mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve email history link
This commit is contained in:
parent
01aa1d1858
commit
8c0004b53b
@ -171,18 +171,12 @@
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h3>{{ trans('texts.contacts') }}</h3>
|
<h3>{{ trans('texts.contacts') }}</h3>
|
||||||
@foreach ($client->contacts as $contact)
|
@foreach ($client->contacts as $contact)
|
||||||
@if ($contact->first_name || $contact->last_name)
|
@if ($contact->first_name || $contact->last_name)
|
||||||
<b>{{ $contact->first_name.' '.$contact->last_name }}</b><br/>
|
<b>{{ $contact->first_name.' '.$contact->last_name }}</b><br/>
|
||||||
@endif
|
@endif
|
||||||
@if ($contact->email)
|
@if ($contact->email)
|
||||||
<i class="fa fa-envelope" style="width: 20px"></i>{!! HTML::mailto($contact->email, $contact->email) !!}
|
<i class="fa fa-envelope" style="width: 20px"></i>{!! HTML::mailto($contact->email, $contact->email) !!}<br/>
|
||||||
@if (config('services.postmark'))
|
|
||||||
| <a href="#" onclick="showEmailHistory('{{ $contact->email }}')">
|
|
||||||
{{ trans('texts.history') }}
|
|
||||||
</a>
|
|
||||||
@endif
|
|
||||||
<br/>
|
|
||||||
@endif
|
@endif
|
||||||
@if ($contact->phone)
|
@if ($contact->phone)
|
||||||
<i class="fa fa-phone" style="width: 20px"></i>{{ $contact->phone }}<br/>
|
<i class="fa fa-phone" style="width: 20px"></i>{{ $contact->phone }}<br/>
|
||||||
@ -197,11 +191,16 @@
|
|||||||
|
|
||||||
@if (Auth::user()->confirmed && $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 }}"
|
<i class="fa fa-dashboard" style="width: 20px"></i><a href="{{ $contact->link }}"
|
||||||
onclick="window.open('{{ $contact->link }}?silent=true', '_blank');return false;">{{ trans('texts.view_in_portal') }}
|
onclick="window.open('{{ $contact->link }}?silent=true', '_blank');return false;">{{ trans('texts.view_in_portal') }}</a>
|
||||||
</a><br/>
|
@if (config('services.postmark'))
|
||||||
|
| <a href="#" onclick="showEmailHistory('{{ $contact->email }}')">
|
||||||
|
{{ trans('texts.email_history') }}
|
||||||
|
</a>
|
||||||
|
@endif
|
||||||
|
<br/>
|
||||||
@endif
|
@endif
|
||||||
<br/>
|
<br/>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user