{% if file.comparison_errors %} {% for group in file.comparison_errors.groups if group.type != 'node' %} {% set group_status = 'ERROR' if group.error or group.total_errors else ('WARNING' if group.total_warnings else 'SUCCESS') %}

{{ group.name }} {{ group_status }} Err: {{ group.total_errors }} Warn: {{ group.total_warnings }} Diffs: {{ group.total_diffs }}

{% if group.error %}
{{ group.error }}
{% endif %} {% if group.total_warnings or group.total_errors %} {% include 'compare_13_section_numbers_table.html' with context %} {% endif %} {% endfor %} {% endif %}