Snippets for book previews, username links, avatars
This commit is contained in:
parent
3ba76a8b13
commit
f9cb9f939a
7 changed files with 15 additions and 14 deletions
|
@ -4,7 +4,7 @@
|
|||
<div id="content">
|
||||
<div>
|
||||
<div class="book-preview">
|
||||
{% include 'book_snippet.html' with book=book size=large rating=rating description=True %}
|
||||
{% include 'snippets/book.html' with book=book size=large rating=rating description=True %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="reviews">
|
||||
|
@ -21,7 +21,7 @@
|
|||
{% for review in reviews %}
|
||||
<div class="review">
|
||||
<h4>{{ review.name }}
|
||||
<small>{{ review.rating | stars }} stars, by {{ review.user.username }}</small>
|
||||
<small>{{ review.rating | stars }} stars, by {% include 'snippets/username.html' with user=review.user %}</small>
|
||||
</h4>
|
||||
<blockquote>{{ review.review_content }}</blockquote>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue