{% extends "::base.html.twig" %} {% block title 'Approval Level Details' %} {% block content %}
Approval Level Details
{% set id = level.getId() %}
{{ level.getInstanceLabel() }}
{{ level.getName() }}
{% if level.mustApprove() %} {% elseif level.approvesOnRequest() %} Levels That Trigger {% endif %} {% if level.isForSpecificUnits() %} {% endif %} {{ include('AlsuiteProjectBundle:ApprovalLevel:del.html.twig', {'id': id, 'modal': 'delApprovalLevel', 'object': 'Approval Level', 'action': 'Delete', 'route': path('level_del', {'id': id})}, with_context = false) }}
Coverage{{ level.getCoverageLabel() }}
Rule{{ level.getRuleLabel() }}
Status{{ level.getStatus() }}
{% if level.mustApprove() %} {% for triggered in level.getActiveTriggeredLevels %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Levels Triggered
{{ triggered.getName() }}
None
{% elseif level.approvesOnRequest() %} {% for triggerer in level.getActiveTriggerers %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Level Triggerers
{{ triggerer.getName() }}
None specified
{% endif %} {% for approver in level.getActiveApprovers() %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Approvers
{{ approver.getUser().getFullname() }}
There are no approvers assigned yet.
{% for lvlUnit in level.getActiveLevelUnits() %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Units
{{ lvlUnit.getUnit().getName() }}
There are no units assigned yet.
{% endblock %}