From 9b4ad968f1b70f3c111e1e4fce4fce46bd968629 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 27 Sep 2018 12:31:17 +0530 Subject: Modified user status to view proposals --- static/website/templates/view-proposals.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'static/website/templates/view-proposals.html') diff --git a/static/website/templates/view-proposals.html b/static/website/templates/view-proposals.html index 269690e..6a3089a 100755 --- a/static/website/templates/view-proposals.html +++ b/static/website/templates/view-proposals.html @@ -30,7 +30,7 @@
Speaker {% endif %} | Type | Title - {% if not user.is_superuser %} + {% if not user.is_staff %} | View {% endif %} - {% if user.is_superuser %} + {% if user.is_staff %} |
| Status {% for proposal in proposals %} |
---|---|---|---|
{% if proposal.status == 'Rejected' %} {% else %} @@ -76,14 +76,14 @@ | {% endif %}{{proposal.proposal_type }} | - {% if user.is_superuser %} + {% if user.is_staff %} {% else %}View | {% endif %}
- {% if user.is_superuser %}
+ {% if user.is_staff %}
{{proposal.status}}{% elif proposal.status == 'Edit' %} - {% if user.is_superuser %} + {% if user.is_staff %}{{proposal.status}}{% else %} {{proposal.status}} @@ -111,11 +111,11 @@ |