From 90efbc392d911605fdfe81a5e2634b72fd76474c Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 18 Aug 2021 15:35:53 +0200 Subject: correct primary group on doc export --- server/templates/server/index.html | 2 ++ server/views.py | 18 +++++++++++------- version.txt | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/server/templates/server/index.html b/server/templates/server/index.html index d8a13f2..a6c25aa 100644 --- a/server/templates/server/index.html +++ b/server/templates/server/index.html @@ -56,6 +56,7 @@ {% endif %}
+ {% if user.is_staff %}
{% csrf_token %}
@@ -73,6 +74,7 @@
+ {% endif %}