summaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-12-15 12:23:50 -0600
committerDan McGee <dan@archlinux.org>2013-12-15 12:23:50 -0600
commita38665c65272a22a474a85d3af47d64293c8844e (patch)
treeae864b27b3d456f5a462dff0f38a337c14e38218 /templates/admin
parentbdfa22500f47fcfa0f40de14424c25792995c9e9 (diff)
Admin template updates for Django 1.6
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/index.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html
index 203206d5..fddd55e5 100644
--- a/templates/admin/index.html
+++ b/templates/admin/index.html
@@ -31,11 +31,15 @@
{% if app_list %}
{% for app in app_list %}
- <div class="module">
- <table summary="{% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}">
- <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}</a></caption>
+ <div class="app-{{ app.app_label }} module">
+ <table>
+ <caption>
+ <a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
+ {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
+ </a>
+ </caption>
{% for model in app.models %}
- <tr>
+ <tr class="model-{{ model.object_name|lower }}">
{% if model.admin_url %}
<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
{% else %}