{% load i18n static djello_template_tags %}

{% trans 'Recent 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_addition %} {% elif entry.is_change %} {% elif entry.is_deletion %} {% endif %}   {% if entry.is_deletion or not entry.get_admin_url %} {{ entry.object_repr }} {% else %} {{ entry.object_repr }} {% endif %} {% if entry.content_type %} {% filter capfirst %}{{ entry.content_type }}{% endfilter %} {% else %} {% trans 'Unknown content' %} {% endif %}
  • {% endfor %} {% endif %}