{{ 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() %}
Levels Triggered |
{% for triggered in level.getActiveTriggeredLevels %}
{% if loop.index0 is divisibleby(3) %}
{% endif %}
{{ triggered.getName() }} |
{% if loop.index is divisibleby(3) %}
{% endif %}
{% else %}
None |
{% endfor %}
{% elseif level.approvesOnRequest() %}
Level Triggerers |
{% for triggerer in level.getActiveTriggerers %}
{% if loop.index0 is divisibleby(3) %}
{% endif %}
{{ triggerer.getName() }} |
{% if loop.index is divisibleby(3) %}
{% endif %}
{% else %}
None specified |
{% endfor %}
{% endif %}
Approvers |
{% for approver in level.getActiveApprovers() %}
{% if loop.index0 is divisibleby(3) %}
{% endif %}
{{ approver.getUser().getFullname() }} |
{% if loop.index is divisibleby(3) %}
{% endif %}
{% else %}
There are no approvers assigned yet. |
{% endfor %}
Units |
{% for lvlUnit in level.getActiveLevelUnits() %}
{% if loop.index0 is divisibleby(3) %}
{% endif %}
{{ lvlUnit.getUnit().getName() }} |
{% if loop.index is divisibleby(3) %}
{% endif %}
{% else %}
There are no units assigned yet. |
{% endfor %}
|
{% else %}