{% load url from future %} {% load i18n %} {% if log %} {% load adagiostags %}
{% for line in log %} {% if line.class == 1 %}
{% endif %} {% endfor %}
↖ {{ start_time|timestamp|date:'Y-m-d H:i' }}
{{ end_time|timestamp|date:'Y-m-d H:i' }} ↗

{% blocktrans with length=log|length %}Last {{ length }} state changes ({% endblocktrans %}{% trans "see all log entries for this host" %}): {% if object_type == 'hostgroup' %} {% endif %} {% if object_type == 'host' %} {% endif %} {% for line in log reversed %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% if object_type == 'hostgroup' %} {% endif %} {% if object_type == 'host' %} {% endif %} {% endfor %}
{% trans "Time" %}{% trans "Host" %} {% trans "Service" %}{% trans "Service" %}{% trans "Duration" %} {% trans "Message" %}
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.host_name }} {{ line.service_description }}{{ line.service_description }}
{{ line.duration|duration}}
{{ line.text }}
{% else %} {% trans "Host has no recent log entries. Try " %}{% trans "Log view" %}{% trans " to search in older logs." %} {% endif %}