fix thumbnail issues + some cleanup
[redakcja.git] / apps / catalogue / templates / catalogue / book_list / book_list.html
1 {% load i18n %}
2 {% load pagination_tags %}
3 {% load document_short_html from document_list %}
4
5 <table class="table table-striped">
6     {% autopaginate books 100 %}
7     <thead>
8         <td>{% trans "Title" %}</td>
9         <td>{% trans "Owner" %}</td>
10         <td>{% trans "Stage" %}</td>
11         <td>{% trans "Assigned to" %}</td>
12         <td>{% trans "Deadline" %}</td>
13         <td></td>
14     </thead>
15     <tbody>
16     {% for doc in books %}
17         {% document_short_html doc %}
18     {% endfor %}
19     <tr><th class='paginator' colspan="5">
20         {% paginate %}
21         </th></tr>
22     </tbody>
23 </table>
24 {% if not books %}
25     <p>{% trans "No resources found." %}</p>
26 {% endif %}
27
28 <select name="other-user" style="display:none;">
29   {% for user in other_users %}
30   <option {% if request.GET.user == user.username %}selected="selected"
31           {% endif %}value="{{ user.username }}">{{ user.get_full_name }} ({{ user.count }})</option>
32   {% endfor %}
33 </select>