summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-02-22 21:06:38 -0600
committerluxagraf <sng@luxagraf.net>2019-02-22 21:06:38 -0600
commit10d33b813ceae48c98d521930adab6171f580bca (patch)
tree71f55edb5cb0dba10683d53f4e02efde7becd664 /design
parent185fe2bbf9b746732394e6fc1daa70faada216a2 (diff)
fixed bug in afflink book template
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%}