{% 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 content %} {% endblock %} {% block sidebar %}

{% trans 'Recent actions' %}

{% load log %} {% get_admin_log 10 as admin_log for_user user %} {% if not admin_log %}

{% trans 'None available' %}

{% else %}

{% trans 'My actions' %}

    {% for entry in admin_log %}
  • {% if entry.is_deletion or not entry.get_admin_url %} {{ entry.object_repr }} {% else %} {% if entry.is_addition %}{% endif %} {% if entry.is_change %}{% endif %} {{ entry.object_repr }} {% endif %} {% if entry.content_type %} {% filter capfirst %}{{ entry.content_type }}{% endfilter %} {% else %} {% trans 'Unknown content' %} {% endif %}
  • {% endfor %}
{% endif %}
{% endblock %}