Added inclusion tag for book.
[wolnelektury.git] / templates / catalogue / _book.html
1 <div class="book">
2     {% if request.user.is_authenticated %}
3     <div class="change-sets">
4         <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">Zestawy</a>
5     </div>
6     {% endif %}
7     <div class="book-thumbnail"></div>
8     <div class="book-description">
9         <h2><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h2>
10         <p style="margin: 0">Formaty: {{ formats|join:", "|safe }}</p>
11         <p style="margin: 0">Utwór w kategoriach: {{ tags|join:", "|safe }}</p>
12     </div>
13 </div>