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.
60 lines
1.4 KiB
60 lines
1.4 KiB
{% extends 'base.html' %}
|
|
|
|
{% block body %}
|
|
<div class="box span8">
|
|
<div class="box-header well">
|
|
<h2><i class="icon-arrow-down"></i>Список переводчиков</h2>
|
|
</div>
|
|
<div class="box-content">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>id</th>
|
|
<th>Email</th>
|
|
<th>Полное имя</th>
|
|
<th>Переводчик</th>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in objects %}
|
|
|
|
<tr>
|
|
<td>{{ item.id }}</td>
|
|
<td>{{ item.email }}</td>
|
|
<td>{{ item.get_full_name }}</td>
|
|
|
|
{% if item.is_translator %}
|
|
<td>Да</td>
|
|
{% else %}
|
|
<td> </td>
|
|
{% endif %}
|
|
<td class="center sorting_1">
|
|
<a class="btn btn-info" href="/accounts/translators/{{ item.id }}">
|
|
<i class="icon-edit icon-white"></i> Изменить
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
{# pagination #}
|
|
<div class="pagination pagination-centered">
|
|
<ul>
|
|
{% if objects.has_previous %}
|
|
<li> <a href="?page={{ objects.previous_page_number }}">←</a></li>
|
|
{% endif %}
|
|
|
|
{% if objects.has_next %}
|
|
<li><a href="?page={{ objects.next_page_number }}">→</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
{% endblock %} |