brotherton-erpnext/website/templates/html/product_breadcrumbs.html
2013-02-21 14:25:30 +05:30

12 lines
376 B
HTML

{% if obj.parent_groups and len(obj.parent_groups) > 1 %}
<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 %}