From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../admin_tools/dashboard/modules/group.html | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html (limited to 'app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html') diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html new file mode 100644 index 0000000..144c82f --- /dev/null +++ b/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html @@ -0,0 +1,33 @@ +{% extends "admin_tools/dashboard/module.html" %} +{% load admin_tools_dashboard_tags %} +{% block module_content %} +
+ {% spaceless %} + {% if module.title %} +

{{ module.title }}

+ {% endif %} + {% ifequal module.display "tabs" %} +
+
    + {% for sub_module in module.children %} + {% if not sub_module.is_empty %}{% endif %} + {% endfor %} +
+ {% for sub_module in module.children %} + {% admin_tools_render_dashboard_module sub_module index forloop.counter %} + {% endfor %} +
+ {% endifequal %} + {% ifequal module.display "accordion" %} + {% for sub_module in module.children %} + {% if not sub_module.is_empty %}{{ sub_module.title }}{% endif %} + {% admin_tools_render_dashboard_module sub_module index forloop.counter %} + {% endfor %} + {% else %} + + {% endifequal %} + + + {% endspaceless %} +
+{% endblock %} -- cgit v1.2.3-70-g09d2