Cleans up status and shelve button

This commit is contained in:
Mouse Reeve
2020-09-28 17:25:26 -07:00
parent a4d1985f86
commit 8dbfa506b8
2 changed files with 15 additions and 13 deletions

View File

@ -1,9 +1,10 @@
{% load fr_display %}
{% if not hide_book and status.mention_books.count %}
<div class="row">
<div class="media">
{% if not hide_book and status.mention_books.count %}
<div class="media-left">
{% for book in status.mention_books.all|slice:"0:4" %}
<div class="row">
<div>
<div class="cover-container">
{% include 'snippets/book_cover.html' with book=book %}
{% if status.mention_books.count > 1 %}
@ -21,9 +22,8 @@
</div>
{% endfor %}
</div>
{% endif %}
{% endif %}
<div class="media">
{% if not hide_book and status.book %}
<div class="media-left">
{% include 'snippets/book_cover.html' with book=status.book %}