From 41bc272db70241672f9f7e11f28818c5f0492ee0 Mon Sep 17 00:00:00 2001
From: hardythe1
Date: Thu, 28 Aug 2014 11:32:56 +0530
Subject: added condition to remove options to approve & notify book if the
book is approved
---
tbc/templates/tbc/book-review-details.html | 37 ++++++++++++++++++------------
1 file changed, 22 insertions(+), 15 deletions(-)
(limited to 'tbc')
diff --git a/tbc/templates/tbc/book-review-details.html b/tbc/templates/tbc/book-review-details.html
index f304a66..ec90cd0 100644
--- a/tbc/templates/tbc/book-review-details.html
+++ b/tbc/templates/tbc/book-review-details.html
@@ -11,21 +11,27 @@
{% endfor %}
-
+
-
+{% if book.approved %}
+Book has been completed & approved
+{% else %}
+
+{% endif %}
Author: | {{ book.author }}
|
Publisher: | {{ book.publisher_place }}
@@ -33,7 +39,8 @@
|
Contributor: | {{ book.contributor.user.first_name }} {{ book.contributor.user.last_name }}
|
Email: | {{ book.contributor.user.email }}
|
-