Merge branch 'master' into rwd
[wolnelektury.git] / apps / catalogue / templates / catalogue / book_mini_box.html
1 <div class="book-mini-box">
2     <div class="book-mini-box-inner">
3     {% if with_link %}
4     <a href="{{ book.get_absolute_url }}">
5     {% endif %}
6         {% if book.cover %}
7             <img src="{{ book.cover_thumb.url }}"
8                 alt="{{ author_str }} – {{ book.title }}" class="cover" />
9         {% endif %}
10         {% if show_lang %}
11             <span class="language" title="{{ book.language_name }}">{{ book.language_code }}</span>
12         {% endif %}
13         <div class="desc">
14             <span class="mono author">{{ author_str }}</span>
15             <span class="title">{{ book.title }}</span>
16         </div>
17     {% if with_link %}
18     </a>
19     {% endif %}
20     </div>
21 </div>
22
23