From 3d24084e24848046b3e547b508505b58d2d13901 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sat, 8 Oct 2022 20:18:56 +0100 Subject: [PATCH] add 'administrator' checks to /user/edit.html template. Some links were being shown to non-administrators. This check fixes that. --- templates/user/edit.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/user/edit.html b/templates/user/edit.html index ca86c01..f5a2e00 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -12,6 +12,7 @@ src="/images/icons/dashboard.png"> View Dashboard + {% if roles.administrator %} @@ -19,6 +20,7 @@ src="/images/icons/all-accounts.png"> Manage Accounts + {% endif %}