From 067a47bceb631b538982f750e1b4c830ba247550 Mon Sep 17 00:00:00 2001
From: Sashi20
Date: Wed, 1 Nov 2017 16:08:02 +0530
Subject: Added option to submit 1 workshop and 1 talk
---
website/templates/submit-cfp.html | 2 +-
website/templates/submit-cfw.html | 2 +-
website/templates/view-abstracts.html | 18 +++++++++++++++---
3 files changed, 17 insertions(+), 5 deletions(-)
(limited to 'website/templates')
diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html
index f8d6982..5104e0f 100755
--- a/website/templates/submit-cfp.html
+++ b/website/templates/submit-cfp.html
@@ -19,7 +19,7 @@
{% include 'navbar.html' %}
{% block content %}
- {% if proposals_a > 1 %} You have exceeded the abstract submission limit.
+ {% if proposals_a >= 1 %} You have exceeded the abstract submission limit.
You may view your submitted proposals by clicking
here
{% else %}
diff --git a/website/templates/submit-cfw.html b/website/templates/submit-cfw.html
index af4a3dd..ee5fb87 100755
--- a/website/templates/submit-cfw.html
+++ b/website/templates/submit-cfw.html
@@ -26,7 +26,7 @@
- {% if proposals_w > 1 %} You have exceeded the workshop proposal submission limit.
+ {% if proposals_w >= 1 %} You have exceeded the workshop proposal submission limit.
You may view your submitted proposals by clicking
here
{% else %}
diff --git a/website/templates/view-abstracts.html b/website/templates/view-abstracts.html
index bcdf74f..d144878 100755
--- a/website/templates/view-abstracts.html
+++ b/website/templates/view-abstracts.html
@@ -121,11 +121,23 @@
{{proposal.status}}
{% endif %}
-
+
+
+ {% if not user.is_superuser and type == 'ABSTRACT' %}
+
Submit workshop
+ {% elif not user.is_superuser and type == 'WORKSHOP' %}
+
Submit paper
+ {% elif not user.is_superuser%}
+ {% endif %}
+
+
+
{% endfor %}
-
-
+
+