2021-01-03 22:28:28 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2021-03-04 22:27:49 +00:00
|
|
|
{% load i18n %}
|
2021-04-24 10:48:55 +00:00
|
|
|
|
2021-01-03 22:28:28 +00:00
|
|
|
{% if book %}
|
2021-04-24 10:48:55 +00:00
|
|
|
{% with book=book %}
|
2021-04-27 14:27:39 +00:00
|
|
|
<a href="{{ book.local_path }}">
|
2021-08-07 23:37:51 +00:00
|
|
|
{% include 'snippets/book_cover.html' with cover_class='is-w-l-mobile is-w-auto align to-b to-l' %}
|
2021-04-27 14:27:39 +00:00
|
|
|
</a>
|
2021-01-03 19:24:26 +00:00
|
|
|
|
2021-04-24 10:48:55 +00:00
|
|
|
{% include 'snippets/stars.html' with rating=book|rating:request.user %}
|
|
|
|
|
|
|
|
<h3 class="title is-6">
|
2021-05-04 16:34:16 +00:00
|
|
|
<a href="{{ book.local_path }}">{{ book.title }}</a>
|
2021-04-24 10:48:55 +00:00
|
|
|
</h3>
|
2021-01-03 19:24:26 +00:00
|
|
|
|
2021-04-24 10:48:55 +00:00
|
|
|
{% if book.authors %}
|
|
|
|
<p class="subtitle is-6">
|
|
|
|
{% trans "by" %}
|
2021-08-07 19:33:45 +00:00
|
|
|
{% include 'snippets/authors.html' with limit=3 %}
|
2021-04-24 10:48:55 +00:00
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
2021-01-03 22:28:28 +00:00
|
|
|
{% endif %}
|