From ff8681360e589ff3c8e63dcef6ad0d31ac8ecab8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Sep 2019 10:33:07 +0200 Subject: Allow own locker to edit their locks --- ishtar_common/templates/ishtar/blocks/window_nav.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/templates/ishtar/blocks') diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index c248bae82..60e620f16 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n ishtar_helpers %}
{% if previous or next %}
@@ -44,7 +44,7 @@ {% endif %}
{% block extra_actions %}{% endblock %} - {% if modify_url and not item.locked %} + {% if modify_url and not item|is_locked:current_user %} @@ -56,7 +56,7 @@ {{extra_text}} {% endfor %} - {% if delete_url and not item.locked %} + {% if delete_url and not item|is_locked:current_user %} -- cgit v1.2.3