]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/talk/modules/lines.html
talk: Update for Kamailio
[people/shoehn/ipfire.org.git] / templates / talk / modules / lines.html
1 <h3>{{ _("Lines") }}</h3>
2
3 <table class="table table-condensed table-hover table-striped">
4 <thead>
5 <tr>
6 {% if show_account %}
7 <th>{{ _("Account") }}</th>
8 {% end %}
9 <th>{{ _("Expires") }}</th>
10 <th>{{ _("Location") }}</th>
11 <th>{{ _("User Agent") }}</th>
12 </tr>
13 </thead>
14 <tbody>
15 {% for line in lines %}
16 <tr>
17 {% if show_account %}
18 <td>
19 {% if line.account %}
20 <a href="/phonebook/{{ line.account.uid }}">{{ line.account.name }}</a>
21 <span class="text-muted">({{ line.account.sip_id }})</span>
22 </a>
23 {% else %}
24 {{ line.username }}@{{ line.domain }}
25 {% end %}
26 </td>
27 {% end %}
28
29 <td>{{ locale.format_date(line.expires) }}</td>
30 <td>
31 {% if line.tls_enabled %}
32 <span class="glyphicon glyphicon-lock" title="{{ _("TLS") }}"></span>
33 {% end %}
34 {{ line.location }}
35 </td>
36 <td>{{ line.user_agent }}</td>
37 </tr>
38 {% end %}
39 </tbody>
40 </table>