bookwyrm/fedireads/templates/snippets/book.html

19 lines
479 B
HTML
Raw Normal View History

2020-02-11 05:09:04 +00:00
{% load fr_display %}
2020-02-19 07:03:04 +00:00
{% include 'snippets/book_cover.html' with book=book %}
2020-02-11 05:09:04 +00:00
<p class="title">
<a href="/book/{{ book.fedireads_key }}">{{ book.title }}</a>
2020-02-11 05:09:04 +00:00
</p>
<p>
2020-03-07 06:56:44 +00:00
by {% include 'snippets/authors.html' with book=book %}
</p>
2020-02-11 05:09:04 +00:00
{% if rating %}
{{ rating | stars }} {{ rating }}
{% endif %}
{% if description %}
2020-03-07 06:56:44 +00:00
<blockquote>{{ book.description | description }}</blockquote>
2020-02-11 05:09:04 +00:00
{% endif %}
2020-03-15 21:15:36 +00:00
{% include 'snippets/shelve_button.html' with book=book pulldown=shelf_pulldown %}