From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../grappelli/templates/admin_tools/menu/menu.html | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 app/lib/grappelli/templates/admin_tools/menu/menu.html (limited to 'app/lib/grappelli/templates/admin_tools/menu/menu.html') diff --git a/app/lib/grappelli/templates/admin_tools/menu/menu.html b/app/lib/grappelli/templates/admin_tools/menu/menu.html new file mode 100644 index 0000000..f43dc23 --- /dev/null +++ b/app/lib/grappelli/templates/admin_tools/menu/menu.html @@ -0,0 +1,64 @@ +{% load i18n admin_tools_menu_tags %} +{% if menu.children %} + + + {% comment %} + {% for item in menu.children %} + + {% endfor %} + {% endcomment %} + {% for item in menu.children %} + + {% ifequal item.css_classes|join:' ' "bookmark" %} + {% if bookmark %} + {% include "admin_tools/menu/remove_bookmark_form.html" %} + {% else %} + {% include "admin_tools/menu/add_bookmark_form.html" %} + {% endif %} + {% endifequal %} + {% endfor %} +{% endif %} -- cgit v1.2.3-70-g09d2