{% load static %} {% load i18n %} {% load basefilters %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if conditions %}
{% trans "Department" %}
{% trans "Condition Field" %}
{% trans "Condition Operator" %}
{% trans "Condition Value" %}
{% trans "Approval Managers" %}
{% if perms.base.change_multipleapprovalcondition or perms.base.delete_multipleapprovalcondition or request.user|is_reportingmanager %}
{% trans "Actions" %}
{% endif %}
{% for condition in conditions %}
{{condition.department}}
{{condition.get_condition_field_display}}
{{condition.get_condition_operator_display}}
{% if condition.condition_operator == "range" %} {{condition.condition_start_value}} - {{condition.condition_end_value}} {% else %} {{condition.condition_value}} {% endif %}
{% for manager in condition.approval_managers %} {{ forloop.counter}}. {{ manager }}
{% endfor %}
{% if perms.base.change_multipleapprovalcondition or perms.base.delete_multipleapprovalcondition or request.user|is_reportingmanager %}
{% if request.user|is_reportingmanager or perms.base.change_multipleapprovalcondition %} {% endif %} {% if request.user|is_reportingmanager or perms.base.delete_multipleapprovalcondition %} {% endif %}
{% endif %}
{% endfor %}
{% else %}
Page not found. 404.
{% trans "There are currently no multiple approvals to consider." %}
{% endif %}