You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
892 B
32 lines
892 B
{% load i18n %}
|
|
<div class="modal-header primary">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title"><span class="glyphicon glyphicon-earphone"></span>{% trans 'Phonebook' %}</h4>
|
|
</div>
|
|
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans 'Telephone' %}</th>
|
|
<th>{% trans 'Telephone owner' %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for t in tels %}
|
|
<tr>
|
|
<td><a href="sip:{{ t.0 }}" class="btn btn-link">{{ t.0 }}</a></td>
|
|
<td>{{ t.1 }}</td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="2">{% trans 'Telephone numbers not found' %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="modal-footer">
|
|
<a href="{% url 'abonapp:phonebook' gid %}?f=csv" class="btn btn-default">
|
|
<span class="glyphicon glyphicon-export"></span> {% trans 'Export to csv' %}
|
|
</a>
|
|
</div>
|