mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('From') }}</th>
|
|
<th>{{ __('To') }}</th>
|
|
<th><i class="ph ph-clock</i>"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if ($calls->isEmpty())
|
|
<tr class="empty">
|
|
<td colspan="3">{{ __('Empty') }}</td>
|
|
</tr>
|
|
@endif
|
|
@foreach ($calls as $call)
|
|
<tr>
|
|
<td class="line">
|
|
@if (isset($account) && $account->identifier != $call->from)
|
|
<b>{{ $call->from }}</b>
|
|
@else
|
|
{{ $call->from }}
|
|
@endif
|
|
</td>
|
|
<td class="line">
|
|
@if (isset($account) && $account->identifier != $call->to)
|
|
<b>{{ $call->to }}</b>
|
|
@else
|
|
{{ $call->to }}
|
|
@endif
|
|
</td>
|
|
<td class="line">
|
|
{{ $call->initiated_at }}
|
|
@if ($call->ended_at)
|
|
({{ $call->ended_at->diffForHumans($call->initiated_at, true) }})
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
{{ $calls->links('pagination::bootstrap-4') }}
|