summaryrefslogtreecommitdiff
path: root/static/website
diff options
context:
space:
mode:
authorFOSSEE Git User2018-09-28 19:32:11 +0530
committerFOSSEE Git User2018-09-28 19:32:11 +0530
commit7bc18d752c842ed4d4f2f70ccb166f84f80cfb06 (patch)
tree314e2b0fe54a43e69bee0104487ae724fdbdb6b3 /static/website
parent84f30c2d2b842f8f3fa95154c2cdc351cb2a0fbb (diff)
parent4ba7e9a1828b9b6fb400044c79dfeaa19ddf0723 (diff)
downloadnccps-2018-7bc18d752c842ed4d4f2f70ccb166f84f80cfb06.tar.gz
nccps-2018-7bc18d752c842ed4d4f2f70ccb166f84f80cfb06.tar.bz2
nccps-2018-7bc18d752c842ed4d4f2f70ccb166f84f80cfb06.zip
Merge branch 'master' of https://github.com/FOSSEE/nccps-2018
Diffstat (limited to 'static/website')
-rwxr-xr-xstatic/website/templates/view-proposals.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/website/templates/view-proposals.html b/static/website/templates/view-proposals.html
index 6a3089a..8717d30 100755
--- a/static/website/templates/view-proposals.html
+++ b/static/website/templates/view-proposals.html
@@ -20,7 +20,7 @@
<a href="{% url 'website:proposal' %}" class="btn btn-primary">Back</a>
</center>
{% else %}
- {% if user.is_superuser %}
+ {% if user.is_staff %}
<div style="float:right"><input type="submit" id="dump" class ="btn btn-info" value="Export as csv" name="dump"/></div>
<br>
{% endif %}
@@ -126,7 +126,7 @@
</p>
- {% if user.is_staff %}
+ {% if user.is_superuser %}
<input type="submit" id="delete" class ="btn btn-info" value="Delete" name="delete"/>
<center>
<input type="submit" id="accept" class ="btn btn-info" value="Accept" name="accept"/>