Cover info in audiobooks zip.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_mini_box.html
1 {% spaceless %}
2   {% with book.author_unicode as author %}
3     <div class="book-mini-box">
4       <div class="book-mini-box-inner">
5         {% if not no_link %}
6           <a href="{{ book.get_absolute_url }}">
7         {% endif %}
8           {% if book.cover_thumb %}
9             <img src="{{ book.cover_thumb.url }}" alt="{{ author }} – {{ book.title }}" class="cover" />
10           {% endif %}
11           {% if book.is_foreign %}
12             <span class="language" title="{{ book.language_name }}">{{ book.language_code }}</span>
13           {% endif %}
14           <div class="desc">
15             <span class="mono author">{{ author }}</span>
16             <span class="title">{{ book.title }}</span>
17           </div>
18         {% if not no_link %}
19           </a>
20         {% endif %}
21       </div>
22     </div>
23   {% endwith %}
24 {% endspaceless %}