1
0
Fork 0

Merge pull request #96 from cthulahoops/goodreads_import

Goodreads import
This commit is contained in:
Mouse Reeve 2020-03-27 09:10:00 -07:00 committed by GitHub
commit 072e8fe02a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 181 additions and 4 deletions

View file

@ -21,13 +21,15 @@
</h2>
{% if not hide_book and status.mention_books.count %}
{% for book in status.mention_books.all|slice:"0:3" %}
<div class="book-preview">
{% if status.status_type == 'Review' %}
{% include 'snippets/book.html' with book=status.mention_books.first %}
{% include 'snippets/book.html' with book=book %}
{% else %}
{% include 'snippets/book.html' with book=status.mention_books.first description=True %}
{% include 'snippets/book.html' with book=book description=True %}
{% endif %}
</div>
{% endfor %}
{% endif %}
{% if not hide_book and status.book%}
<div class="book-preview">