{% if action_list %}
{% else %}
{% 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_changed action.change_message "permissions" as perms %}
{% if perms.added %}
Added permissions: {{ perms.added|join:", " }}
{% endif %}
{% if perms.removed %}
Removed permissions: {{ perms.removed|join:", " }}
{% endif %}
{% get_changed action.change_message "groups" as groups %}
{% if groups.added %}
Added groups: {{ groups.added|join:", " }}
{% endif %}
{% if groups.removed %}
Removed groups: {{ groups.removed|join:", " }}
{% endif %}
|
{% trans 'This object doesn’t have a change history. It probably wasn’t added via this admin site.' %}
{% endif %}