From 2c3046ffa4d454195f18b61b25e5213c3cc27a5e Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 15 Aug 2018 23:20:16 +0530 Subject: added view proposal template --- static/website/templates/view-proposals.html | 149 +++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100755 static/website/templates/view-proposals.html (limited to 'static/website/templates/view-proposals.html') diff --git a/static/website/templates/view-proposals.html b/static/website/templates/view-proposals.html new file mode 100755 index 0000000..bdb39f7 --- /dev/null +++ b/static/website/templates/view-proposals.html @@ -0,0 +1,149 @@ +{% load static %} + + +{% include 'header.html' %} + +
+ + {% include 'navbar.html' %} + {% block content %} +
+
+

+

+

View Proposals

+
+

+ {% if not proposals %} +
+

Proposals are no longer accepted

+ +
+ {% else %} + {% if user.is_superuser %} +
+
+ {% endif %} +
+ {% csrf_token %} +

+

+ + + {% if user.is_superuser %} + + + + + + + {% else %} + + + + + + {% endif %} + + {% if user.is_superuser %} + + + {% if user.is_superuser %} + + {% endif %} + + {% endif %} + + {% if user.is_superuser %} + + {% else %} + + + {% endif %} + + + + + {% endfor %} +
+ Speaker + {% endif %} + Type + Title + {% if not user.is_superuser %} + View + {% endif %} + {% if user.is_superuser %} + +
Duration
+ {% else %} +
Comments + {% endif %} + Status + {% for proposal in proposals %} +
+ {% if proposal.status == 'Rejected' %} + {% else %} +
+
+ {{ proposal.user.get_full_name}} + {{proposal.proposal_type }} {{proposal.title}} {{proposal.title}}View + {% if user.is_superuser %} +
{{ proposal.duration }} + {% if proposal.proposal_type == 'ABSTRACT' %} + Mins{% else %} Hrs {% endif %} +
+ {% else %} + {{proposal.comments_set.count}} + {% endif %} +
+ {% if proposal.status == 'Accepted' %} +
{{proposal.status}}
+ {% elif proposal.status == 'Rejected' %} +
{{proposal.status}}
+ {% elif proposal.status == 'Commented' %} +
{{proposal.status}}
+ {% elif proposal.status == 'Edit' %} + {% if user.is_superuser %} +
{{proposal.status}}
+ {% else %} + {{proposal.status}} + {% endif %} + {% else %} +
{{proposal.status}}
+ {% endif %} +
+

+

+ + + {% if user.is_superuser %} + +
+ + + +
+ {% endif %} +
+ {% endif %} +
+ + + + + +
+ + {% endblock %} + {% include 'footer.html' %} + + -- cgit