From e2c9d49a368b53850769b9da1c5ea2cd8cbb18b9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Dec 2019 12:09:02 +0100 Subject: History only for superuser --- ishtar_common/templates/ishtar/blocks/window_nav.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 60e620f16..1d8121faf 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -1,5 +1,6 @@ {% load i18n ishtar_helpers %}
+ {% if current_user.is_superuser %} {% if previous or next %}
@@ -30,6 +31,9 @@
{% else %}
+ {% endif %} + {% else %} +
{% endif %} {% if pin_action and item.SLUG %}