gitignore fix
[wolnelektury.git] / apps / catalogue / 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="{{ author_str }} – {{ book.title }}" class="cover" />
12         {% endif %}
13         <div class="desc">
14             <span class="mono author">{{ author_str }}</span>
15             <span class="title">{{ book.title }}</span>
16         </div>
17     </a>
18 </div>
19
20