{% extends 'netbox_ip_history/base.html' %} {% load i18n %} {% block title %}{% if ip %}{{ ip }} | {% endif %}{% trans "IP History" %}{% endblock %} {% block page_title %}{% if ip %}{{ ip }}{% else %}{% trans "IP History" %}{% endif %}{% endblock %} {% block subtitle %} {% if ip %} {% trans "Timeline" %} {% endif %} {% endblock %} {% block ip_history_content %}
| {% trans "Timestamp" %} | {% trans "IP Address" %} | {% trans "VRF" %} | {% trans "Event" %} | {% trans "Source" %} | {% trans "Host / Owner" %} | {% trans "Host 2 / DNS" %} | {% trans "Interface" %} | {% trans "User" %} | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ event.timestamp|date:"Y-m-d" }} {{ event.timestamp|date:"H:i:s T" }} | {{ event.ip_address }}{% if event.prefix_length %}/{{ event.prefix_length }}{% endif %} | {% if event.vrf and event.vrf != "Global" %} {{ event.vrf }} {% else %} {% trans "Global" %} {% endif %} | {{ event.event_type_display|default:event.event_type }} | {% if event.native %} NetBox {% else %} {{ event.source }} {% endif %} |
{{ event.owner_name|default:event.hostname|default:"—" }}
{% if event.description %}
{{ event.description }}
{% endif %}
|
{% if event.owner_name and event.hostname and event.owner_name != event.hostname %} {{ event.hostname }} {% elif event.dns_name and event.dns_name != event.owner_name and event.dns_name != event.hostname %} {{ event.dns_name }} {% else %} — {% endif %} | {% if event.interface_name %} {{ event.interface_name }} {% else %} — {% endif %} | {% if event.username %} {{ event.username }} {% else %} — {% endif %} | ||
|
{% if ip %}
{% trans "No historical events found matching query." %}
{% else %}
{% trans "No IP history queried yet. Use quick search above or filter tab." %}
{% endif %}
|
||||||||||