2 <div class=
"card mb-3">
3 <div class=
"card-body">
4 <table class=
"table mb-0">
6 {% for chan in channels %}
9 {% if chan.direction ==
"inbound" %}
10 <span class=
"fas fa-arrow-right text-danger"></span>
12 {% if chan.application ==
"conference" %}
15 {% elif chan.application ==
"echo" %}
18 {% elif chan.application ==
"voicemail" %}
21 {% elif chan.callee %}
23 <a href=
"/users/{{ chan.callee.uid }}">{{ chan.callee }}
</a>
25 {{ chan.callee_name }}
28 <span class=
"text-muted">({{ chan.callee_number }})
</span>
31 {{ chan.called_number }}
33 {% elif chan.direction ==
"outbound" %}
34 <span class=
"fas fa-arrow-right text-success"></span>
37 <a href=
"/users/{{ chan.caller.uid }}">{{ chan.caller }}
</a>
39 {{ chan.caller_name }}
42 <span class=
"text-muted">({{ chan.caller_number }})
</span>
47 <span class=
"text-muted small">
48 {% if chan.is_secure() %}
49 <!-- XXX icon lock with title: {{ chan.secure }} -->
56 <td class=
"text-right">
57 {{ format_time(chan.duration) }}