summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/templates/details/book.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/book.html b/design/templates/details/book.html
index 3c08214..782b07d 100644
--- a/design/templates/details/book.html
+++ b/design/templates/details/book.html
@@ -20,9 +20,9 @@
{% if object.pages %}<dt>Pages</dt>
<dd>{{object.pages}}</dd>{%endif%}
{% if object.isbn %}<dt>ISBN</dt>
+ <dd>{{object.isbn}}</dd>{%endif%}
{% if object.afflink %}<dt>Buy</dt>
<dd><a href="{{object.afflink}}" title="buy {{object.title}} at Amazon">Amzn</a></dd>{%endif%}
- <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 object.ratings_range %}{% if i <= object.get_rating%}&#9733;{%else%}&#9734;{%endif%}{%endfor%}</dd>{%endif%}