remove commas from sets' names
[wolnelektury.git] / wolnelektury / templates / catalogue / book_mini_box.html
1 {% load thumbnail %}
2 <div class="book-mini-box">
3     <a href="{{ book.get_absolute_url }}">
4         {% if book.cover %}
5             <img src="
6                 {% thumbnail book.cover "139x193" as thumb %}
7                     {{ thumb.url }}
8                 {% empty %}
9                     {{ book.cover.url }}
10                 {% endthumbnail %}
11             " alt="Cover" />
12         {% endif %}
13         <div class="desc">
14             <span class="mono author">
15                 {% for name, url in related.tags.author %}
16                     {{ name }}{% if not forloop.last %}, {% endif %}
17                 {% endfor %}
18             </span>
19             <span class="title">{{ book.title }}</span>
20         </div>
21     </a>
22 </div>
23
24