2020-05-03 23:22:33 +00:00
|
|
|
{% load fr_display %}
|
2020-03-15 22:41:23 +00:00
|
|
|
{% if book.cover %}
|
2020-05-03 21:27:42 +00:00
|
|
|
<img class="book-cover {{ size }}" src="/images/{{ book.cover }}" alt="{% include 'snippets/cover_alt.html' with book=book %}">
|
2020-03-15 22:41:23 +00:00
|
|
|
{% else %}
|
2020-04-25 19:21:44 +00:00
|
|
|
<div class="no-cover book-cover {{ size }}">
|
2020-05-03 23:22:33 +00:00
|
|
|
<img class="book-cover {{ size }}" src="/static/images/no_cover.jpg" alt="No cover">
|
2020-03-15 22:41:23 +00:00
|
|
|
<div>
|
2020-09-29 04:08:42 +00:00
|
|
|
<p>{{ book.title }}</p>
|
2020-05-03 23:22:33 +00:00
|
|
|
<p>({{ book|edition_info }})</p>
|
2020-03-15 22:41:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|