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

42 lines
1016 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' %}
2013-08-21 12:18:08 +00:00
<div class="col-md-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 %}
</div>
2013-08-21 12:18:08 +00:00
<div class="col-md-12">
2013-02-21 08:55:30 +00:00
{% if sub_groups %}
<hr />
<div class="row">
{% for d in sub_groups %}
2013-08-21 12:18:08 +00:00
<div class="col-md-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 %}