1 {% extends
"admin/base_site.html" %}
2 {% load i18n admin_static %}
4 {% block extrastyle %}{{ block.super }}
<link rel=
"stylesheet" type=
"text/css" href=
"{% static "admin/css/dashboard.css
" %}" />{% endblock %}
6 {% block coltype %}colMS{% endblock %}
8 {% block bodyclass %}dashboard{% endblock %}
10 {% block breadcrumbs %}{% endblock %}
14 View
<a href=
"/admin/pending/">pending
</a> moderation requests.
<br/>
15 Purge contents from
<a href=
"/admin/purge/">varnish
</a>.
17 <div id=
"content-main">
20 {% for app in app_list %}
22 <table summary=
"{% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}">
23 <caption><a href=
"{{ app.app_url }}" class=
"section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
</a></caption>
24 {% for model in app.models %}
26 {% if model.admin_url %}
27 <th scope=
"row"><a href=
"{{ model.admin_url }}">{{ model.name }}
</a></th>
29 <th scope=
"row">{{ model.name }}
</th>
32 {% if model.add_url %}
33 <td><a href=
"{{ model.add_url }}" class=
"addlink">{% trans 'Add' %}
</a></td>
38 {% if model.admin_url %}
39 <td><a href=
"{{ model.admin_url }}" class=
"changelink">{% trans 'Change' %}
</a></td>
49 <p>{% trans
"You don't have permission to edit anything." %}
</p>
55 <div id=
"content-related">
56 <div class=
"module" id=
"recent-actions-module">
57 <h2>{% trans 'Recent Actions' %}
</h2>
58 <h3>{% trans 'My Actions' %}
</h3>
60 {% get_admin_log
10 as admin_log for_user user %}
61 {% if not admin_log %}
62 <p>{% trans 'None available' %}
</p>
64 <ul class=
"actionlist">
65 {% for entry in admin_log %}
66 <li class=
"{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
67 {% if entry.is_deletion or not entry.get_admin_url %}
68 {{ entry.object_repr }}
70 <a href=
"{{ entry.get_admin_url }}">{{ entry.object_repr }}
</a>
73 {% if entry.content_type %}
74 <span class=
"mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}
</span>
76 <span class=
"mini quiet">{% trans 'Unknown content' %}
</span>