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

40 lines
993 B
HTML
Raw Normal View History

{% extends "app/website/templates/html/page.html" %}
2012-12-19 04:44:59 +00:00
{% block content %}
{% include 'app/website/templates/html/product_search_box.html' %}
{% include 'app/website/templates/html/product_breadcrumbs.html' %}
<div class="col col-lg-12">
2013-02-21 08:55:30 +00:00
{% if slideshow %}<!-- slideshow -->
{% include "app/website/templates/html/slideshow.html" %}
2013-02-21 08:55:30 +00:00
{% endif %}
{% if description %}<!-- description -->
<div>{{ description or ""}}</div>
{% else %}
<h3>{{ name }}</h3>
{% endif %}
{% if sub_groups %}
<hr />
<div class="row">
{% for d in sub_groups %}
<div class="col col-lg-4">
2013-02-21 08:55:30 +00:00
<a href="{{ d.page_name }}">{{ d.name }} ({{ d.count }})</a>
2012-12-19 04:44:59 +00:00
</div>
2013-02-21 08:55:30 +00:00
{% endfor %}
</div>
<hr />
{% endif %}
{% if items %}
<div id="search-list" class="row">
{% for item in items %}
{{ item }}
{% endfor %}
2012-12-19 04:44:59 +00:00
</div>
2013-03-28 11:39:23 +00:00
{% if len(items)==100 %}
<div class="alert info">Showing top 100 items.</div>
2013-02-21 08:55:30 +00:00
{% endif %}
{% else %}
<div class="alert">No items listed.</div>
{% endif %}
2012-12-19 04:44:59 +00:00
</div>
{% endblock %}