{% if app_list %}
{% for app in app_list %}
{% for model in app.models %}
{% endfor %}
{% else %}
{{ model.name }} | {% else %}{{ model.name }} | {% endif %}{{ model.count|rjust:20 }} | {% if model.perms.add %}{% trans 'Add' %} | {% else %}{% endif %} {% if model.perms.change %} | {% trans 'Edit' %} | {% else %}{% endif %} |
---|
{% trans "You don't have permission to edit anything." %}
{% endif %}{% trans 'Recent Actions' %}
{% trans 'My Actions' %}
{% load log %} {% get_admin_log 10 as admin_log for_user user %} {% if not admin_log %}{% trans 'None available' %}
{% else %}-
{% for entry in admin_log %}
-
{% if entry.is_deletion %}
{{ entry.object_repr }}
{% else %}
{{ entry.object_repr }}
{% endif %}
{% if entry.content_type %} {% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %} {% else %} {% trans 'Unknown content' %} {% endif %}
{% endfor %}