aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyblackbird_cc/templates/resources/resource_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html
index dc9c7ba..8d053ff 100644
--- a/pyblackbird_cc/templates/resources/resource_list.html
+++ b/pyblackbird_cc/templates/resources/resource_list.html
@@ -10,7 +10,7 @@
<div class="row">
<div class="col">
<div class="d-flex flex-row justify-content-between">
- {% if request.user.is_authenticated %}
+ {% if request.user.is_authenticated and request.user.is_staff %}
<div>
<a class="btn btn-primary" href="{% url 'resources:create_resource' %} ">Add a new resource</a>
</div>