{% load lbworkflow_tags %}
{% for t in agree_transitions %}
{{ t.name }}
|
{% endfor %}
{% for t in other_transitions %}
{{ t.name }}
|
{% endfor %}
{% if can_reject %}
Reject
|
{% endif %}
{% if can_back_to %}
Back to
|
{% endif %}
{# TODO hold and add joint #}
{% comment %}
{% if can_rollback %}
Rollback
|
{% endif %}
{% endcomment %}
{% if can_give_up %}
Give up
|
{% endif %}
{% if not is_btn %}
{% if can_edit %}
Edit
|
{% endif %}
{% if is_wf_admin %}
Delete
|
{% endif %}
{% endif %}