{% extends "admin/base_site.html" %}
{% load i18n %}
{% load history %}
{% block breadcrumbs %}
{% endblock %}
{% block content %}
{% if action.request %}
{% trans 'User' %} |
{{action.request.user_name}} |
{% trans 'Request Path' %} |
{{action.request.request_path}} |
{% if action.related_changes %}
{% trans 'Related Changes' %} |
{% for history in action.related_changes %}
{% if history|admin_history_version_link:admin_name %}
- {{history}}
{% else %}
- {{history}}
{% endif %}
{% endfor %}
|
{% endif %}
{% endif %}
{% trans 'Date/time' %} |
{{action.action_time|date:_("DATETIME_FORMAT")}} |
{% trans 'Site' %} |
{{action.site}} |
{% trans 'Action' %} |
{% trans action.action_display %} |
{% trans 'Attribute' %} |
{% trans 'Previous Value' %} |
{% trans 'New Value' %} |
{% for key, value in action.data.items %}
{{key}} |
{% if value|length_is:2 %}
{{ value.0 }} |
{{ value.1 }} |
{% else %}
|
{{ value.0 }} |
{% endif %}
{% endfor %}
{% endblock %}