2cc8328f5181911e8f09f2a81da4326435cd2247
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
1 {% load i18n %}
2 <div class="book">
3     <div class="change-sets">
4         <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">{% trans "Put on the shelf!" %}</a>
5     </div>
6     {% if book.children.all|length %}
7         <div class="book-parent-thumbnail"></div>
8     {% else %}
9         <div class="book-thumbnail"></div>
10     {% endif %}
11     <div class="book-description">
12         <h2><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h2>
13         {% if formats %}
14             <p style="margin: 0">{% trans "Jump to" %}: {{ formats|join:", " }}</p>
15         {% endif %}
16         <p style="margin: 0">{% trans "Categories" %}: {{ tags|join:", " }}</p>
17     </div>
18 </div>