mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
Show book descriptions in list items
This commit is contained in:
parent
e3aaf9b356
commit
01f2d80cbd
1 changed files with 9 additions and 2 deletions
|
@ -44,8 +44,15 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column ml-3">
|
<div class="column ml-3">
|
||||||
<span>{% include 'snippets/book_titleby.html' %}</span>
|
<p>
|
||||||
{% include 'snippets/stars.html' with rating=item.book|rating:request.user %}
|
{% include 'snippets/book_titleby.html' %}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{% include 'snippets/stars.html' with rating=item.book|rating:request.user %}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{{ book|book_description|to_markdown|default:""|safe|truncatewords_html:20 }}
|
||||||
|
</p>
|
||||||
{% include 'snippets/shelve_button/shelve_button.html' %}
|
{% include 'snippets/shelve_button/shelve_button.html' %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue