From 37ca84e1f55e14b87b1f8d9e02e81d9b55efca85 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 14 Oct 2012 22:29:43 -0400 Subject: moved and modified a few templates --- design/templates/admin/index.html | 79 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 design/templates/admin/index.html (limited to 'design/templates/admin/index.html') diff --git a/design/templates/admin/index.html b/design/templates/admin/index.html new file mode 100644 index 0000000..cbb2904 --- /dev/null +++ b/design/templates/admin/index.html @@ -0,0 +1,79 @@ +{% extends "admin/base_site.html" %} + + +{% load i18n grp_tags log %} + + +{% block javascripts %} + {{ block.super }} +{% endblock %} + + +{% block breadcrumbs %} + +{% endblock %} +{% block content_title %} + {% if title %} +

{{ title }}

+ {% endif %} +{% endblock %} + + +{% block content %} +
+
+ {% for app in app_list %} +
+

{% trans app.name %}

+ {% for model in app.models %} +
+ {% if model.perms.change %}{{ model.name }}{% else %}{{ model.name }}{% endif %} + {% if model.perms.add or model.perms.change %} + + {% endif %} +
+ {% endfor %} +
+ {% empty %} +

{% trans "You donĀ“t have permission to edit anything." %}

+ {% endfor %} +
+{% include 'admin/buttons.html' %} +
+
+

{% trans 'Recent Actions' %}

+
+

{% trans 'My Actions' %}

+ {% get_admin_log 10 as admin_log for_user user %} + {% if not admin_log %} +

{% trans 'None available' %}

+ {% else %} +
    + {% for entry in admin_log %} +
  • + {% if entry.is_deletion %} + {{ entry.object_repr }} + {% else %} + {{ entry.object_repr }} + {% endif %} + {% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %} +
  • + {% endfor %} +
+ {% endif %} +
+
+
+
+{% endblock %} + -- cgit v1.2.3-70-g09d2