Changed JSONField implementation. Now to get and set decoded value you must use get_...
[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.all|length %}
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         {% if formats %}
13             <p style="margin: 0">Na skróty: {{ formats|join:", "|safe }}</p>
14         {% endif %}
15         <p style="margin: 0">Utwór w kategoriach: {{ tags|join:", "|safe }}</p>
16     </div>
17 </div>