brotherton-erpnext/website/templates/html/product_breadcrumbs.html

12 lines
376 B
HTML
Raw Normal View History

{% if obj.parent_groups and len(obj.parent_groups) > 1 %}
2013-02-21 08:55:30 +00:00
<div class="span12">
<div class="clearfix">
<ul class="breadcrumb">
{% for ig in obj.parent_groups[:-1] %}
<li><a href="{{ ig.page_name }}.html">{{ ig.name }}</a> <span class="divider">/</span></li>
{% endfor %}
<li class="active">{{ obj.parent_groups[-1].name }}</li>
</ul>
</div>
</div>
{% endif %}