1 {% extends "admin/base_site.html" %}
4 {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css" />{% endblock %}
6 {% block coltype %}colMS{% endblock %}
8 {% block bodyclass %}dashboard{% endblock %}
10 {% block breadcrumbs %}{% endblock %}
13 <div id="content-main">
16 {% for app in app_list %}
18 <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
19 <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption>
20 {% for model in app.models %}
22 {% if model.perms.change %}
23 <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
25 <th scope="row">{{ model.name }}</th>
28 {% if model.perms.add %}
29 <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
34 {% if model.perms.change %}
35 <td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
45 <p>{% trans "You don't have permission to edit anything." %}</p>
51 <div id="content-related">
52 <div class="module" id="recent-actions-module">
53 <h2>{% trans 'Recent Actions' %}</h2>
54 <h3>{% trans 'My Actions' %}</h3>
56 {% get_admin_log 10 as admin_log for_user user %}
57 {% if not admin_log %}
58 <p>{% trans 'None available' %}</p>
60 <ul class="actionlist">
61 {% for entry in admin_log %}
62 <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
63 {% if entry.is_deletion %}
64 {{ entry.object_repr }}
66 <a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
69 {% if entry.content_type %}
70 <span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
72 <span class="mini quiet">{% trans 'Unknown content' %}</span>