{% extends 'arnold/base.html' %} {% block content %} {% if error %}
{{ error }}
{% endif %} {% comment %} Display info for this identity {% endcomment %}
Details for {{ identity.ip }}
Ip Dns Netbios Mac Switch Port Vlan Status Autoenable Mail
{{ identity.ip }} {{ identity.dns }} {{ identity.netbios }} {{ identity.mac }} {% if identity.interface %} {{ identity.interface.netbox.sysname }} {% else %} Last interface was {{ identity.textual_interface }} {% endif %} {% if identity.interface %} {% endif %} {{ identity.interface.ifname|default_if_none:'' }} {% if identity.interface %} {% endif %} {{ identity.interface.vlan|default_if_none:'' }} {{ identity.status }} {{ identity.autoenable|date:'DATETIME_FORMAT'|default_if_none:'' }} {{ identity.mail }}
{% comment %}Display list of events regarding this identity{% endcomment %} {% with identity.event_set.all as events %} {% for event in events %} {% endfor %}
History
Eventtime Action Reason Comment User
{{ event.event_time|date:"Y-m-d H:i:s" }} {{ event.action }} {{ event.justification }} {{ event.comment }} {{ event.executor }}
{{ events|length }} entr{{ events|pluralize:'y,ies' }} in history
{% endwith %} {% endblock %}