{% extends "devicehistory/base_history.html" %} {% block devicehistory-content %}
{% for type, elements in selection.items %} {% for id in elements %} {% endfor %} {% endfor %} {% include "devicehistory/history_view_filter.html" %}

Search terms

{% for type, elements in search_description.items %}

{{ type|capfirst }}

{% endfor %}
{% include "devicehistory/paginator.html" %} {% for group_name, group in history.grouped_history.items %} {# #} {% for h in group %} {# #} {% endfor %}
{{ group_name }}
{{ group|length }} items.
Location Room NetboxModuleSerial Start time End time Event type Alert type Message
{{ group|length }} items.
{{ h.netbox.room.location.id }} {{ h.netbox.room.id }} {{ h.netbox.sysname }}{{ h.module_name }}{{ h.device.serial|default_if_none:"" }} {{ h.start_time }} {% if h.is_open %} Unresolved {% else %} {{ h.end_time }} {% endif %} {{ h.event_type.id }} {{ h.alert_type.name }} {% if h.extra_messages %}
    {% for state,m in h.extra_messages.items %}
  • {{ m.sms }}
  • {% endfor %}
{% endif %}
{% endfor %} {% include "devicehistory/paginator.html" %} {% endblock %}