]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/talk/modules/ongoing-calls.html
Introduce autotools
[ipfire.org.git] / src / templates / talk / modules / ongoing-calls.html
CommitLineData
5ac74b02
MT
1{% if channels %}
2 <h3>{{ _("Ongoing Calls") }}</h3>
77431b9c 3
5ac74b02
MT
4 <table class="table table-hover table-striped">
5 <thead>
66862195 6 <tr>
5ac74b02
MT
7 <th>{{ _("Caller") }}</th>
8 <th></th>
9 <th>{{ _("Called") }}</th>
10 <th>{{ _("Codec") }}</th>
11 <th class="ar">{{ _("Duration") }}</th>
66862195 12 </tr>
5ac74b02
MT
13 </thead>
14 <tbody>
15 {% for c in channels %}
16 <tr>
17 <td>
18 {% module TalkContact(c.caller, name=c.caller_name) %}
19 </td>
20
21 <td>
22 <span class="glyphicon glyphicon-arrow-right text-success"></span>
23 </td>
24
25 <td>
56851b01 26 {% module TalkContact(c.callee, application=c.application) %}
5ac74b02
MT
27 </td>
28
29 <td>
30 {{ c.format }}
31 </td>
32
33 <td class="ar">{{ format_time(c.duration) }}</td>
40818cf2
MT
34
35 <td class="ar">
36 <a class="btn btn-xs btn-danger" title="{{ _("Hangup") }}" href="/hangup/{{ c.id }}">
37 <i class="fa fa-times"></i>
38 </a>
39 </td>
5ac74b02
MT
40 </tr>
41 {% end %}
42 </tbody>
43 </table>
44{% end %}