Cleans up status and shelve button
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user