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-profile.html | 2 +- static/website/templates/view-proposals.html | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'static/website/templates') diff --git a/static/website/templates/view-profile.html b/static/website/templates/view-profile.html index 844a2ba..d8fa8ab 100644 --- a/static/website/templates/view-profile.html +++ b/static/website/templates/view-profile.html @@ -47,7 +47,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 @@ |