{% include '@' ~ NAMESPACE ~ '/head_panel.html' %}
{{ lang('EXTENSION_NAME') }}
{{ lang('VENDOR') }}
{{ lang('VERSION') }}
{{ lang('EXT_STATUS') }}
{{ lang('STATUS') }}
{% for row in ext_row %}
{# Create an array of the STATUS_IMAGE vars for later use #}
{% set image_ary = [] %}
{% for files in row.file_data %}
{% set image_ary = image_ary|merge([files.STATUS_IMAGE]) %}
{% endfor %}
{% if row.S_ROW_COUNT is even %}
{% else %}
{% endif %}
{# Find the image data in the array #}
{% if 'error' in image_ary %}
{% elseif 'query' in image_ary %}
{% elseif 'alert' in image_ary %}
{% else %}
{% endif %}
{{ row.DISPLAY_NAME }}
{{ row.VENDOR }}
{{ row.VERSION }}
{{ row.EXT_STATUS }}
{% if row.EXT_ENABLED and ('error' in image_ary or 'query' in image_ary) %}
{% endif %}
{% for files in row.file_data %}
{% if files.STATUS_IMAGE == 'error' %}
{% elseif files.STATUS_IMAGE == 'query' %}
{% endif %}
{{ files.STATUS }}
{% if not files.last %}
{% endif %}
{% endfor %}