2021-04-20 16:54:02 +00:00
|
|
|
{% spaceless %}
|
|
|
|
|
|
|
|
{% load bookwyrm_tags %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% if not hide_book %}
|
|
|
|
{% with book=status.book|default:status.mention_books.first %}
|
2021-04-20 18:06:14 +00:00
|
|
|
<div class="columns is-mobile">
|
2021-04-20 16:54:02 +00:00
|
|
|
<div class="column is-narrow">
|
|
|
|
<div>
|
2021-04-25 13:37:46 +00:00
|
|
|
<a href="{{ book.local_path }}">{% include 'snippets/book_cover.html' with book=book cover_class='is-h-small' %}</a>
|
2021-04-20 16:54:02 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column">
|
|
|
|
<h3 class="title is-6 mb-1">{% include 'snippets/book_titleby.html' with book=book %}</h3>
|
2021-04-22 13:58:21 +00:00
|
|
|
<p>{{ book|book_description|to_markdown|default:""|safe|truncatewords_html:20 }}</p>
|
2021-04-20 16:54:02 +00:00
|
|
|
{% include 'snippets/shelve_button/shelve_button.html' with book=book %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endwith %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endspaceless %}
|