summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
authorhardythe12013-12-04 15:59:15 +0530
committerhardythe12013-12-04 15:59:15 +0530
commitc123451312671e50e47e0309d95fcfc0ffc323d4 (patch)
tree036044df3a05651c3ffdfd3ccfc2574f4fa56e85 /tbc/templates
parentd0e2d7b820398210dcd507d39a9f1c5480dc06a6 (diff)
downloadPython-TBC-Interface-c123451312671e50e47e0309d95fcfc0ffc323d4.tar.gz
Python-TBC-Interface-c123451312671e50e47e0309d95fcfc0ffc323d4.tar.bz2
Python-TBC-Interface-c123451312671e50e47e0309d95fcfc0ffc323d4.zip
adding success messages for various activites
Diffstat (limited to 'tbc/templates')
-rwxr-xr-xtbc/templates/base.html15
-rw-r--r--tbc/templates/tbc/book-review.html3
2 files changed, 18 insertions, 0 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index 88aff29..a317de5 100755
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -91,6 +91,21 @@
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
{% block content %}
+ {% if up %}
+ <p>Book has been uploaded successfully. Please be patient while the reviewer reviews the book</p>
+ {% endif %}
+ {% if profile %}
+ <p>Congratulations on your first log in. Please update your profile below.</p>
+ {% endif %}
+ {% if login %}
+ <p>Login Successful</p>
+ {% endif %}
+ {% if logout %}
+ <p>You have logged out successfully</p>
+ {% endif %}
+ {% if update_book %}
+ <p>Book has been updated successfully </p>
+ {% endif %}
<div class="row-fluid">
<center><h3>Latest Books</h3></center>
{% for item in items %}
diff --git a/tbc/templates/tbc/book-review.html b/tbc/templates/tbc/book-review.html
index deaeac6..2026fec 100644
--- a/tbc/templates/tbc/book-review.html
+++ b/tbc/templates/tbc/book-review.html
@@ -1,6 +1,9 @@
{% extends 'base.html' %}
{% load static %}
{% block content %}
+{% if book_review %}
+<p>Book has been approved !</p>
+{% endif %}
<center><h3>Books to be reviewed</h3></center>
<ol>
{% for book in books %}