{% load catalog_tags %} {% if object_list %} {% for treeitem in object_list %} {% with treeitem.content_object as object %}
  • {% if treeitem in breadcrumbs %} {{ object }} {% else %} {{ object }} {% endif %}
  • {% endwith %} {% if type == 'expanded' %} {% endif %} {% if type == 'collapsed' %} {% endif %} {% if type == 'drilldown' %} {% if treeitem in breadcrumbs %} {% if treeitem.get_children %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endif %}