From a38665c65272a22a474a85d3af47d64293c8844e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 15 Dec 2013 12:23:50 -0600 Subject: Admin template updates for Django 1.6 Signed-off-by: Dan McGee --- templates/admin/index.html | 12 ++++++++---- templates/devel/admin_log.html | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/templates/admin/index.html b/templates/admin/index.html index 203206d..fddd55e 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -31,11 +31,15 @@ {% if app_list %} {% for app in app_list %} -
- - +
+
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
+ {% for model in app.models %} - + {% if model.admin_url %} {% else %} diff --git a/templates/devel/admin_log.html b/templates/devel/admin_log.html index 1629c10..0513049 100644 --- a/templates/devel/admin_log.html +++ b/templates/devel/admin_log.html @@ -48,7 +48,7 @@ {% if entry.is_deletion %} {{ entry.object_repr }} {% else %} - {{ entry.object_repr }} + {{ entry.object_repr }} {% endif %} -- cgit v1.2.3-24-g4f1b
+ + {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %} + +
{{ model.name }} {{ entry.change_message }}