brotherton-erpnext/website/templates/html/product_breadcrumbs.html
2013-05-27 14:47:56 +05:30

12 lines
352 B
HTML

{% if obj.parent_groups and len(obj.parent_groups) > 1 %}
<div class="col col-lg-12">
<div class="clearfix">
<ul class="breadcrumb">
{% for ig in obj.parent_groups[:-1] %}
<li><a href="{{ ig.page_name }}.html">{{ ig.name }}</a></li>
{% endfor %}
<li class="active">{{ obj.parent_groups[-1].name }}</li>
</ul>
</div>
</div>
{% endif %}