Skip to content

Commit

Permalink
Added a template for the template tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Oordt committed Sep 30, 2009
1 parent 084e408 commit 8830d92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions categories/templates/categories/ancestors_ul.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% for node,structure in drilldown|tree_info %}
{% if structure.new_level %}<ul><li>{% else %}</li><li>{% endif %}
{% ifequal node category %}<strong>{{ node.name }}</strong>
{% else %}<a href="{{ node.get_absolute_url }}">{{ node.name }}</a>
{% endifequal %}
{% for level in structure.closed_levels %}</li></ul>{% endfor %}
{% endfor %}

0 comments on commit 8830d92

Please sign in to comment.