diff options
author | hardythe1 | 2014-06-06 13:12:24 +0530 |
---|---|---|
committer | hardythe1 | 2014-06-06 13:12:24 +0530 |
commit | 68349142308247c86c80667a8c515aa77e50ef2b (patch) | |
tree | dac3b0f80b833fac24e4ba991657494c19cc4789 /tbc/templates/base.html | |
parent | d8f962fb93f30c6faa1470d21eee8df05d7fa9ea (diff) | |
download | Python-TBC-Interface-68349142308247c86c80667a8c515aa77e50ef2b.tar.gz Python-TBC-Interface-68349142308247c86c80667a8c515aa77e50ef2b.tar.bz2 Python-TBC-Interface-68349142308247c86c80667a8c515aa77e50ef2b.zip |
can submit new proposal only if there are no other proposals pending
Diffstat (limited to 'tbc/templates/base.html')
-rwxr-xr-x | tbc/templates/base.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html index dca79d6..09c1c4c 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -179,7 +179,16 @@ </center> <div class="clearfix"></div> {% endif %} - <div class="row-fluid"> + {% if proposal_pending %} + <center> + <div class="alert" style="width:650px;height:40px;"> + <a class="close" data-dismiss="alert" href="#">×</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 %} + <div class="row-fluid"> <center><h3>Recent Submissions</h3></center> {% for item in items %} <div class ="module-list"> @@ -196,7 +205,7 @@ <!-- <input type=text> <input type=submit value=Search> --> - {% endblock %} + {% endblock %} <hr> <footer> |