From 604c748f8f8dee5e51e2ea5937d1be0b60fb0e7b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 7 Dec 2011 14:15:15 -0600 Subject: Admin index template updates We can't do everything in the upcoming 1.4 release, but we can take care of a few small bugfixes and changes from the SVN trunk template. Signed-off-by: Dan McGee --- templates/admin/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/admin/index.html') diff --git a/templates/admin/index.html b/templates/admin/index.html index 93cf258..1755d86 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -32,8 +32,8 @@ {% if app_list %} {% for app in app_list %}
- - +
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
+ {% for model in app.models %} {% if model.perms.change %} @@ -43,7 +43,7 @@ {% endif %} {% if model.perms.add %} - + {% else %} {% endif %} @@ -77,7 +77,7 @@
    {% for entry in admin_log %}
  • - {% if entry.is_deletion %} + {% if entry.is_deletion or not entry.get_admin_url %} {{ entry.object_repr }} {% else %} {{ entry.object_repr }} -- cgit v1.2.3-24-g4f1b
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
{% trans 'Add' %}{% trans 'Add' %}