From 45ef9fa84a07e62370ec7dbfd79fcd19e3b913c6 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sat, 17 Sep 2022 15:03:03 +0100 Subject: [PATCH] add role check and update 'pages' link in /user/pages.html template. --- templates/user/pages.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/user/pages.html b/templates/user/pages.html index d5a697c..864d270 100644 --- a/templates/user/pages.html +++ b/templates/user/pages.html @@ -15,7 +15,7 @@ Create Page - View Pages + View Pages {% if roles.administrator %} Site Settings Users @@ -30,11 +30,13 @@
{{page}} Edit + {% if roles.administrator %}
+ {% endif %}
{% endfor %}