From 79485991350075a8e4c75c1dd1ee98b99656d118 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 23 Aug 2018 15:59:10 +0530 Subject: updated view proposals --- static/website/templates/view-proposals.html | 190 +++++++++++++-------------- 1 file changed, 92 insertions(+), 98 deletions(-) (limited to 'static') diff --git a/static/website/templates/view-proposals.html b/static/website/templates/view-proposals.html index bdb39f7..285fc3b 100755 --- a/static/website/templates/view-proposals.html +++ b/static/website/templates/view-proposals.html @@ -1,149 +1,143 @@ +{% extends "base.html" %} {% load static %} - - -{% include 'header.html' %} - -
- - {% include 'navbar.html' %} - {% block content %} -
-
-

+ {% block content %} +

+
+

View Proposals

-

+

{% if not proposals %} -
-

Proposals are no longer accepted

- -
+
+

Proposals are no longer accepted

+ Submit paper + Submit workshop +
{% 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 + Speaker {% endif %} - Type - Title + Type + Title {% if not user.is_superuser %} - View + View {% endif %} {% if user.is_superuser %} - -
Duration
+
+
Duration
{% else %} -
Comments + Comments {% endif %} - Status + Status {% for proposal in proposals %} -
+ {% if proposal.status == 'Rejected' %} {% else %} -
-
- {{ proposal.user.get_full_name}} - +

+ {{ proposal.user.first_name }} {{ proposal.user.last_name }} +

+
{{proposal.proposal_type }} {{proposal.proposal_type }} {{proposal.title}} + {{proposal.title}} + {{proposal.title}}View {{proposal.title}} + View + + {% if user.is_superuser %} -
{{ proposal.duration }} +
{{ proposal.duration }} {% if proposal.proposal_type == 'ABSTRACT' %} Mins{% else %} Hrs {% endif %}
{% else %} - {{proposal.comments_set.count}} + {{proposal.comments_set.count}} {% endif %} -
+ {% if proposal.status == 'Accepted' %} -
{{proposal.status}}
+
{{proposal.status}}
{% elif proposal.status == 'Rejected' %} -
{{proposal.status}}
+
{{proposal.status}}
{% elif proposal.status == 'Commented' %} -
{{proposal.status}}
+
{{proposal.status}}
{% elif proposal.status == 'Edit' %} {% if user.is_superuser %} -
{{proposal.status}}
+
{{proposal.status}}
{% else %} - {{proposal.status}} + {{proposal.status}} {% endif %} {% else %} -
{{proposal.status}}
+
{{proposal.status}}
{% endif %} -
-

-

- - + +
+
+
+ Submit paper + Submit workshop +
+

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