diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-08 20:24:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-08 20:24:26 -0500 |
commit | 7e8fefe7f3c5aee31c4e7231e5fed21d34ed0cb6 (patch) | |
tree | 65eec2f77b579ad4127f8d7d9a799d9f3bcc6f4e /design/templates/details/book.html | |
parent | 76c0bf31bf4a21fcf18df8579dbb6f660c4d7437 (diff) |
Updated books app to use new CBVs and urls, also brought everything up
to PEP 8 styles
Diffstat (limited to 'design/templates/details/book.html')
-rw-r--r-- | design/templates/details/book.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/book.html b/design/templates/details/book.html index 6524885..e1d211a 100644 --- a/design/templates/details/book.html +++ b/design/templates/details/book.html @@ -20,7 +20,7 @@ <dd>{{object.isbn}}</dd>{%endif%} {% if object.isbn %}<dt>Borrow</dt> <dd><a href="http://worldcat.org/isbn/{{object.isbn}}" title="find {{object.title}} in your local library">WorldCat</a></dd>{%endif%} - {% if object.rating %}<dt>Rating</dt><dd class="book-stars" itemprop="reviewRating"> {% for i in ratings_range %}{% if i <= object.get_rating%}★{%else%}☆{%endif%}{%endfor%}</dd>{%endif%} + {% if object.rating %}<dt>Rating</dt><dd class="book-stars" itemprop="reviewRating"> {% for i in object.ratings_range %}{% if i <= object.get_rating%}★{%else%}☆{%endif%}{%endfor%}</dd>{%endif%} {% if object.read_in %}<dt>Read</dt> <dd>{{object.read_in}}</dd>{%endif%} </dl> |