Commit 3584c368 authored by Enrico Zini's avatar Enrico Zini
Browse files

Show process cancel link

parent 36367408
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
{% endif %} {% endif %}
{% if process %} {% if process %}
{% if visitor.is_admin %}<a href="{{process.get_admin_url}}">admin process</a>{% endif %} {% if visitor.is_admin %}<a href="{{process.get_admin_url}}">admin process</a>{% endif %}
{% if "proc_close" in visit_perms %}<a href="{% url 'process_cancel' pk=process.pk %}">cancel process</a>{% endif %}
{% endif %} {% endif %}
{% if person %} {% if person %}
<a href="{{person.get_ddpo_url}}">DDPO</a> <a href="{{person.get_ddpo_url}}">DDPO</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment