{% extends "admin/base_site.html" %} {% load i18n static app_icon %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block coltype %}colMS{% endblock %} {% block bodyclass %}{{ block.super }} dashboard{% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block content %}
{% if app_list %} {% for app in app_list %}

{{ app.name }}

{% for model in app.models %} {% endfor %}
{{ model.name }} {% if model.add_url %} Add {% endif %} {% if model.admin_url %} Change {% endif %}
{% endfor %} {% endif %}

{% 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.is_deletion or not entry.get_admin_url %}
{{ entry.object_repr }}
{% else %} {% endif %} {% if entry.content_type %} {% filter capfirst %}{{ entry.content_type.name }}{% endfilter %} {% else %} {% translate 'Unknown content' %} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}