{% include 'header.twig' %}
{{T_.statdif1}}
{% for check in checks %}
{% if check.ID_G != beforegroup %}
{{T_.name}}
{{T_.status_uptime}}
{{T_.last_check}}
{{T_.last_err}}
{% endif %}
{% set beforegroup = check.ID_G %}
{{check.nameGroup}}
{% endfor %}
{{check.name}}
{# "Switch" type #}
{% if check.ID_TC == 1 or check.ID_TC == 2 or check.ID_TC == 4 %} {# Ping, HttpCode, SQL DB #}
{% if check.uptime != -1 %}{#Only if records exists#}
{{check.statusText}}
({{ check.uptime}}%)
{{check.dateLastChk}} -
{% if check.failedLastChk == 0 %}
{{T_.status_right}}
{% else %}
{{T_.failed}}
{% endif %}
{%else%} {#If not records yet#}
Dame tiempo para recopilar estadísticas
{%endif%}
{%if check.dateLastErr is not null%}
{{check.dateLastErr}}
{%else%}
{{T_.no_errs}}
{%endif%}
{% endif %}
{% if check.ID_TC == 3 %}
{% endif %}
{# Fin Switch #}