{% for check in system_check.checks %}
{{ mod_strings.LBL_ERROR }}
{{ mod_strings.LBL_WARNING }}
{{ check.label }}:
{% if check.errors is empty %}
{% if check.result is iterable %}
{% for resultArray in check.result %}
{{ resultArray }}
{% endfor %}
{% elseif check.result is not empty %}
{{ check.result }}
{% endif %}
{% endif %}
{% if check.errors and check.errors is not empty %}
{% if check.errors|length >= 2 %}
{% set extraErrors = check.errors %}
{% endif %}
{% if check.errors|length < 2 %}
{% for error in check.errors %}
{% if error|length > 200 %}
{% set extraErrors = extraErrors|merge([error]) %}
{% endif %}
{% endfor %}
{% endif %}
{% if extraErrors is empty %}
{% for error in check.errors %}
{{ error }}
{% endfor %}
{% else %}
{% if extraErrors|length > 1 %}
{{ extraErrors|first }}
See All Errors >
{% for error in extraErrors %}
- {{ error }}
{% endfor %}
{% else %}
{{ extraErrors|first }}
{{ mod_strings.LBL_VIEW_FULL_ERROR }}
>
{{ extraErrors|first }}
{% endif %}
{% endif %}
{% endif %}
{% set extraErrors = [] %}
{% if check.warnings and check.warnings is not empty %}
{% if check.warnings|length >= 2 %}
{% set extraWarnings = check.warnings %}
{% endif %}
{% if check.warnings|length < 2 %}
{% for warning in check.warnings %}
{% if warning|length > 200 %}
{% set extraWarnings = extraWarnings|merge([warning]) %}
{% endif %}
{% endfor %}
{% endif %}
{% if extraWarnings is empty %}
{% for warning in check.warnings %}
{{ warning }}
{% endfor %}
{% else %}
{% if extraWarnings|length > 1 %}
{{ extraWarnings|first }}
See All Warnings >
{% for warning in extraWarnings %}
- {{ warning }}
{% endfor %}
{% else %}
{{ extraWarnings|first }}
view full description >
{{ extraWarnings|first }}
{% endif %}
{% endif %}
{% endif %}
< {{ mod_strings.LBL_CLOSE_DESCRIPTION }}
< {{ mod_strings.LBL_CLOSE_DESCRIPTION }}
{% set extraWarnings = [] %}
{% set counter = counter + 1 %}
{% endfor %}