From: Michael Tremer Date: Mon, 20 Apr 2026 14:18:44 +0000 (+0000) Subject: analytics: Make them visible to all staff X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=HEAD;p=ipfire.org.git analytics: Make them visible to all staff Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/post.html b/src/templates/blog/post.html index 2da51dea..dca14c61 100644 --- a/src/templates/blog/post.html +++ b/src/templates/blog/post.html @@ -165,7 +165,7 @@ {# Analytics #} {% if post.is_published() %} - {% if current_user and current_user.is_admin() %} + {% if current_user and current_user.is_staff() %}
diff --git a/src/templates/docs/page.html b/src/templates/docs/page.html index 6dcf3930..4ff43e55 100644 --- a/src/templates/docs/page.html +++ b/src/templates/docs/page.html @@ -65,7 +65,7 @@
{# Analytics #} - {% if current_user and current_user.is_admin() %} + {% if current_user and current_user.is_staff() %}