{% extends "vantage/base.html" %} {% load static vantage i18n %} {% block head %}{% endblock %} {% block content %}
{{ page_description }}
| {% translate "When" %} | {% translate "Who" %} | {% translate "What" %} | {% translate "Record" %} | {% translate "Changes" %} | {% comment %} A different "From" to the date filter above — this column holds the originating IP address, so it is marked with its own context. {% endcomment %}{% translate "From" context "network origin of an audit entry" %} |
|---|---|---|---|---|---|
| {{ row.entry.actor_repr|default:"—" }} |
{{ row.entry.get_action_display }}
{% if row.entry.action_name %}
{{ row.entry.action_name }}
{% endif %}
|
{% comment %} The stored label, never a dereference of the generic FK. That row is gone for exactly the entries people care most about. {% endcomment %} {% if row.url %} {{ row.entry.object_repr }} {% else %} {{ row.entry.object_repr|default:"—" }} {% endif %} {% if row.model %}{{ row.model }}{% endif %} |
{% if row.changes %}
{% comment %}
Collapsed by default. A delete snapshots every field, and expanding
a hundred of them by default turns a scannable log into a wall.
{% endcomment %}
{% blocktranslate count counter=row.changes|length %}{{ counter }} field{% plural %}{{ counter }} fields{% endblocktranslate %}
|
{{ row.entry.ip_address|default:"—" }} |
{% translate "Nothing matches those filters." %}
{% translate "Widen the date range, or clear the filters to see everything." %}
{% translate "Clear filters" %}{% translate "Nothing has been recorded yet." %}
{% blocktranslate trimmed %} Entries appear here as soon as someone creates, changes or deletes a record through this panel. {% endblocktranslate %}