diff options
author | Sashi20 | 2018-09-28 10:49:15 +0530 |
---|---|---|
committer | GitHub | 2018-09-28 10:49:15 +0530 |
commit | 4ba7e9a1828b9b6fb400044c79dfeaa19ddf0723 (patch) | |
tree | 314e2b0fe54a43e69bee0104487ae724fdbdb6b3 /static/website/templates | |
parent | 9f1a4acad9154efe03cd3590b73841d2561e5168 (diff) | |
parent | d13ba980c9b3fbd8117f4bc21e4378c38c086453 (diff) | |
download | nccps-2018-4ba7e9a1828b9b6fb400044c79dfeaa19ddf0723.tar.gz nccps-2018-4ba7e9a1828b9b6fb400044c79dfeaa19ddf0723.tar.bz2 nccps-2018-4ba7e9a1828b9b6fb400044c79dfeaa19ddf0723.zip |
Merge pull request #18 from Sashi20/master
Modified access for staff user to view proposals
Diffstat (limited to 'static/website/templates')
-rwxr-xr-x | static/website/templates/view-proposals.html | 4 |
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"/> |