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">
17 {% include "filebrowser/append.html" %}
19 {% for app in app_list %}
21 <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
22 <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption>
23 {% for model in app.models %}
25 {% if model.perms.change %}
26 <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
28 <th scope="row">{{ model.name }}</th>
31 {% if model.perms.add %}
32 <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
37 {% if model.perms.change %}
38 <td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
48 <p>{% trans "You don't have permission to edit anything." %}</p>
54 <div id="content-related">
55 <div class="module" id="recent-actions-module">
56 <h2>{% trans 'Recent Actions' %}</h2>
57 <h3>{% trans 'My Actions' %}</h3>
59 {% get_admin_log 10 as admin_log for_user user %}
60 {% if not admin_log %}
61 <p>{% trans 'None available' %}</p>
63 <ul class="actionlist">
64 {% for entry in admin_log %}
65 <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
66 {% if entry.is_deletion %}
67 {{ entry.object_repr }}
69 <a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
72 {% if entry.content_type %}
73 <span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
75 <span class="mini quiet">{% trans 'Unknown content' %}</span>