{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block coltype %}colMS{% endblock %} {% block bodyclass %}{{ block.super }} dashboard{% endblock %} {% block breadcrumbs %}{% endblock %} {% block nav-sidebar %}{{ block.super }}{% endblock %} {% block content %} {% include "admin/app_list.html" with app_list=app_list show_changelinks=True %} {% endblock %} {% block sidebar %}

{% translate 'Recent actions' %}

{% translate 'My actions' %}
{% load log %} {% get_admin_log 10 as admin_log for_user user %} {% if not admin_log %}
{% translate 'None available' %}
{% else %}
    {% for entry in admin_log %}
  • {% if entry.is_addition %} {% endif %} {% if entry.is_change %}{% endif %} {% if entry.is_deletion %}{% endif %} {% if entry.content_type %} {% filter capfirst %} {{ entry.content_type.name }}{% endfilter %} {% else %} {% translate 'Unknown content' %} {% endif %}
    {% if entry.is_deletion or not entry.get_admin_url %} {{ entry.object_repr }} {% else %} {{ entry.object_repr }} {% endif %}
  • {% endfor %}
{% endif %}
{% endblock %}