--- /dev/null
+<h3>{{ _("Lines") }}</h3>
+
+<table class="table table-condensed table-hover table-striped">
+ <thead>
+ <tr>
+ {% if show_account %}
+ <th>{{ _("Account") }}</th>
+ {% end %}
+ <th>{{ _("Expires") }}</th>
+ <th>{{ _("Location") }}</th>
+ <th>{{ _("User Agent") }}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for line in lines %}
+ <tr>
+ {% if show_account %}
+ <td>
+ {% if line.account %}
+ <a href="/phonebook/{{ line.account.uid }}">{{ line.account.name }}</a>
+ <span class="text-muted">({{ line.account.sip_id }})</span>
+ </a>
+ {% else %}
+ {{ line.username }}@{{ line.domain }}
+ {% end %}
+ </td>
+ {% end %}
+
+ <td>{{ locale.format_date(line.expires) }}</td>
+ <td>
+ {% if line.tls_enabled %}
+ <span class="glyphicon glyphicon-lock" title="{{ _("TLS") }}"></span>
+ {% end %}
+ {{ line.location }}
+ </td>
+ <td>{{ line.user_agent }}</td>
+ </tr>
+ {% end %}
+ </tbody>
+</table>