summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
authorhardythe12015-05-08 17:30:49 +0530
committerhardythe12015-05-08 17:30:49 +0530
commit064f18d507bc225ef0941344a66f99b489a05f8c (patch)
treeefa022f349ef9b0633e6f3051fde87d79cd026c8 /tbc/templates
parent285a24aeb96bfcf2744a4dddd8c72a598568e652 (diff)
downloadPython-TBC-Interface-064f18d507bc225ef0941344a66f99b489a05f8c.tar.gz
Python-TBC-Interface-064f18d507bc225ef0941344a66f99b489a05f8c.tar.bz2
Python-TBC-Interface-064f18d507bc225ef0941344a66f99b489a05f8c.zip
Added validation to check if book is pending for old book submission
Diffstat (limited to 'tbc/templates')
-rwxr-xr-xtbc/templates/base.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index acd9341..a4a637c 100755
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -239,6 +239,15 @@
</center>
<div class="clearfix"></div>
{% endif %}
+ {% if book_pending %}
+ <center>
+ <div class="alert" style="width:650px;height:40px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>You either have a proposal pending or you are already working on a book. You cannot submit a proposal at this moment.</p>
+ </div>
+ </center>
+ <div class="clearfix"></div>
+ {% endif %}
{% if no_book_alloted %}
<center>
<div class="alert" style="width:400px;height:25px;">