From a6d2964846dc827dbf291d14db9cc7745cdc6fd0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 10 Nov 2019 09:23:48 -0500 Subject: added buy and borrow buttons to books --- design/templates/details/book.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'design/templates') diff --git a/design/templates/details/book.html b/design/templates/details/book.html index 101dd0d..f7bba47 100644 --- a/design/templates/details/book.html +++ b/design/templates/details/book.html @@ -19,10 +19,6 @@ {% if object.rating %}
Rating
{% for i in object.ratings_range %}{% if i <= object.get_rating%}★{%else%}☆{%endif%}{%endfor%}
{%endif%} {% if object.read_in %}
Read
{{object.read_in}}
{%endif%} - {% if object.afflink %}
Buy
-
Amzn
{%endif%} - {% if object.isbn %}
Borrow
-
WorldCat
{%endif%} {% if object.pages %}
Pages
{{object.pages}}
{%endif%} {% if object.publish_date %}
Published
@@ -30,6 +26,10 @@ {% if object.isbn %}
ISBN
{{object.isbn}}
{%endif%} +
+ {% if object.afflink %}Buy Now{%endif%} + {% if object.isbn %}Borrow{%endif%} +
{%if object.body_html%}
Notes
-- cgit v1.2.3-70-g09d2