{% extends "admin/base_site.html" %} {% load admin_urls i18n smart %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}
{% if action_list %} {% for action in action_list %} {% endfor %}
{% trans 'Date/time' %} {% trans 'User' %} {% trans 'Action' %} {% trans 'Details' %}
{{ action.action_time|date:"DATETIME_FORMAT" }} {{ action.user.get_username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %} {{ action.get_change_message }} {% get_message_details action.change_message as details %} {% if details.added %}
Permissions: {{ details.added.permissions.set|join:", " }}
{% else %} {% if details.changed and details.changed.permissions.added %}
Added permissions: {{ details.changed.permissions.added|join:", " }}
{% endif %} {% if details.changed and details.changed.permissions.removed %}
Removed permissions: {{ details.changed.permissions.removed|join:", " }}
{% endif %} {% endif %} {% get_message_details action.change_message as details %} {% if details.changed.groups.added %}
Added groups: {{ details.changed.groups.added|join:", " }}
{% endif %} {% if groups.removed %}
Removed groups: {{ details.changed.groups.removed|join:", " }}
{% endif %}
{% else %}

{% trans 'This object doesn’t have a change history. It probably wasn’t added via this admin site.' %}

{% endif %}
{% endblock content %}