88ec16dfd573aa5f8e4ec8450492baa6d1bd01ec
[wolnelektury.git] / apps / catalogue / templates / catalogue / book_mini_box.html
1 {% spaceless %}
2 <div class="book-mini-box">
3     <div class="book-mini-box-inner">
4     {% if with_link %}
5     <a href="{{ book.get_absolute_url }}">
6     {% endif %}
7         {% if book.cover_thumb %}
8             <img src="{{ book.cover_thumb.url }}" 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 {% endspaceless %}