From e2127b11df6aa712d532b6aeabd9a33e405ddc75 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 15 May 2024 17:58:40 +0100 Subject: Update wrap around is_staff condition for edit buttons --- pyblackbird_cc/templates/resources/resource_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyblackbird_cc/templates/resources') 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 @@
- {% if request.user.is_authenticated %} + {% if request.user.is_authenticated and request.user.is_staff %}
Add a new resource
-- cgit v1.2.3