]> git.ipfire.org Git - ipfire.org.git/blame - templates/talk/modules/ongoing-calls.html
talk: Update for Kamailio
[ipfire.org.git] / templates / talk / modules / ongoing-calls.html
CommitLineData
77431b9c
MT
1<h3>{{ _("Ongoing Calls") }}</h3>
2
66862195
MT
3<table class="table table-hover table-striped">
4 <thead>
5 <tr>
6 <th>{{ _("Time Started") }}</th>
7 <th>{{ _("Caller") }}</th>
8 <th></th>
9 <th>{{ _("Called") }}</th>
10 </tr>
11 </thead>
12 <tbody>
13 {% for call in calls %}
14 <tr>
15 <td>{{ locale.format_date(call.time) }}</td>
16 <td>
17 {% if call.caller_account %}
18 <a href="/phonebook/{{ call.caller_account.uid }}">{{ call.caller_account.name }}</a>
19 <span class="text-muted">({{ call.caller }})</span>
20 {% else %}
21 {{ call.caller }}
22 {% end %}
23 </td>
24 <td>
25 <span class="glyphicon glyphicon-arrow-right text-success"></span>
26 </td>
27 <td>
28 {% if call.called_account %}
29 <a href="/phonebook/{{ call.called_account.uid }}">{{ call.called_account.name }}</a>
30 <span class="text-muted">({{ call.called }})</span>
31 {% elif call.called_conference %}
32 <a href="/conferences#{{ call.called_conference.no }}">{{ call.called_conference.name }}</a>
33 <span class="text-muted">({{ call.called }})</span>
34 {% else %}
35 {{ call.called }}
36 {% end %}
37 </td>
38 </tr>
39 {% end %}
40 </tbody>
41</table>