summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-12-14 20:57:12 +0530
committerGitHub2020-12-14 20:57:12 +0530
commitcfcc13428e0ce58247b53c5feea1f346e518c5fb (patch)
tree3343acbc8a69eaf2859c0b0d1707d752361862a0
parentaee3de36ffa51fb64a5c68a62f86d6af2abceb9a (diff)
parent292471caca610611c9732ccde1ba5f15bf72c52d (diff)
downloadSciPy2020-cfcc13428e0ce58247b53c5feea1f346e518c5fb.tar.gz
SciPy2020-cfcc13428e0ce58247b53c5feea1f346e518c5fb.tar.bz2
SciPy2020-cfcc13428e0ce58247b53c5feea1f346e518c5fb.zip
Merge pull request #10 from Sashi20/development
Disable proposal submission form
-rwxr-xr-xstatic/website/templates/submit-cfp.html8
-rwxr-xr-xstatic/website/templates/submit-cfw.html6
2 files changed, 14 insertions, 0 deletions
diff --git a/static/website/templates/submit-cfp.html b/static/website/templates/submit-cfp.html
index 88bd54e..8695395 100755
--- a/static/website/templates/submit-cfp.html
+++ b/static/website/templates/submit-cfp.html
@@ -10,6 +10,8 @@
<section id="view_proposal" class="section view_proposal">
<div class="container">
<br>
+ {% if cfp_dates.receive_proposals %}
+
<center>
<h1>Submit Proposal</h1>
</center>
@@ -108,6 +110,12 @@
</center>
</form>
</div>
+
+ {% else %}
+ <center>
+ <h2>We no longer accept proposals</h2>
+ </center>
+ {% endif %}
</div>
</section>
{% endblock %}
diff --git a/static/website/templates/submit-cfw.html b/static/website/templates/submit-cfw.html
index 6d4136c..4f9ffcb 100755
--- a/static/website/templates/submit-cfw.html
+++ b/static/website/templates/submit-cfw.html
@@ -5,6 +5,7 @@
<section id="submitcfw" class="section submitcfw">
<div class="container">
+ {% if cfp_dates.receive_proposals %}
<p>
<center>
<h2>Submit Workshop Proposal</h2>
@@ -110,6 +111,11 @@
<a href="{% url 'website:cfp' %}" class="btn btn-info" role="button">Back</a>
</center>
</form>
+ {% else %}
+ <center>
+ <h2>We no longer accept proposals</h2>
+ </center>
+ {% endif %}
</div>
</section>