summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_nav.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html
index 19b70ccd6..c248bae82 100644
--- a/ishtar_common/templates/ishtar/blocks/window_nav.html
+++ b/ishtar_common/templates/ishtar/blocks/window_nav.html
@@ -56,6 +56,12 @@
<i class="{{icon}}"></i> {{extra_text}}
</a>
{% endfor %}
+ {% if delete_url and not item.locked %}
+ <a class="btn btn-danger wait-button" href='{% url delete_url item.pk %}'
+ title="{% trans 'Delete' %}">
+ <i class="fa fa-trash" aria-hidden="true"></i>
+ </a>
+ {% endif %}
</div>
<div class="btn-group btn-group-sm" role="group"