Revision: 616 Author: chris.vigelius Date: Thu Jul 23 06:41:14 2009 Log: add template for dynamic tree menu, missing from last commit
http://code.google.com/p/django-page-cms/source/detail?r=616 Added: /trunk/pages/templates/pages/dynamic_tree_menu.html ======================================= --- /dev/null +++ /trunk/pages/templates/pages/dynamic_tree_menu.html Thu Jul 23 06:41:14 2009 @@ -0,0 +1,9 @@ +{% load pages_tags cache %} +{% if page.status %} +<li {% ifequal page current_page %}class="selected"{% endifequal %}> +<a href="{% show_absolute_url page %}">{% show_content page "title" %}</a> +{% if children %} + <ul>{% for child in children %}{% pages_dynamic_tree_menu child url %}{% endfor %}</ul> +{% endif %} +</li> +{% endif %} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pinax-updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pinax-updates?hl=en -~----------~----~----~----~------~----~------~--~---
