2 <div class=
"card mb-3">
3 <div class=
"card-body">
4 <h6 class=
"card-title">{{ _(
"Ongoing Calls") }}
</h6>
6 <table class=
"table mb-0">
8 {% for chan in channels %}
11 {% if chan.direction ==
"inbound" %}
12 <span class=
"fas fa-arrow-right text-danger"></span>
14 {% if chan.conference %}
15 <a href=
"/conferences#{{ chan.conference.handle }}">{{ _(
"Conference Room %s") % chan.conference.number }}
</a>
17 <span class=
"text-muted">
18 ({{ _(
"One Participant",
"%(num)s Participants", len(chan.conference)) % {
"num" : len(chan.conference) } }})
20 {% elif chan.application ==
"echo" %}
23 {% elif chan.application ==
"voicemail" %}
26 {% elif chan.callee %}
28 <a href=
"/users/{{ chan.callee.uid }}">{{ chan.callee }}
</a>
30 {{ chan.callee_name }}
33 <span class=
"text-muted">({{ format_phone_number(chan.callee_number) }})
</span>
35 {{ format_phone_number(chan.called_number) }}
37 {% elif chan.direction ==
"outbound" %}
38 <span class=
"fas fa-arrow-right text-success"></span>
41 <a href=
"/users/{{ chan.caller.uid }}">{{ chan.caller }}
</a>
43 {{ chan.caller_name }}
46 <span class=
"text-muted">({{ format_phone_number(chan.caller_number) }})
</span>
51 <span class=
"text-muted small">
52 {% if chan.is_secure() %}
53 <span class=
"fas fa-lock" title=
"{{ chan.secure }}"></span>
60 <td class=
"text-right">
61 {{ format_time(chan.duration) }}