From 55234759888c2d25992c11d1e321bf754d8cf9bc Mon Sep 17 00:00:00 2001 From: j Date: Fri, 18 Mar 2022 15:56:06 +0000 Subject: [PATCH] add edit links --- app/templates/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index 9046428..0c19788 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -5,6 +5,11 @@
{{ intro.body | safe }}
+ {% if request.user.is_staff %} + + {% endif %}
{% for event in events %}
@@ -35,5 +40,10 @@
{{ postscript.body | safe }}
+ {% if request.user.is_staff %} + + {% endif %}
{% endblock %}