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