Added ordering to book children relation.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
1 <div class="book">
2     <div class="change-sets">
3         <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">Na półkę!</a>
4     </div>
5     {% if book.children %}
6         <div class="book-parent-thumbnail"></div>
7     {% else %}
8         <div class="book-thumbnail"></div>
9     {% endif %}
10     <div class="book-description">
11         <h2><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h2>
12         <p style="margin: 0">Na skróty: {{ formats|join:", "|safe }}</p>
13         <p style="margin: 0">Utwór w kategoriach: {{ tags|join:", "|safe }}</p>
14     </div>
15 </div>