brotherton-erpnext/erpnext/templates/generators/item_group.html

47 lines
1.4 KiB
HTML
Raw Normal View History

2016-01-01 11:53:12 +00:00
{% extends "templates/web.html" %}
2016-04-20 10:50:49 +00:00
{% block header %}<h1>{{ _("Products") }}</h1>{% endblock %}
2016-01-04 12:20:40 +00:00
{% block breadcrumbs %}
2016-04-20 10:50:49 +00:00
<div class="page-breadcrumbs" data-html-block="breadcrumbs">
<ul class="breadcrumb">
<li>
2016-12-05 09:32:24 +00:00
<span class="fa fa-angle-left"></span>
2016-04-20 10:50:49 +00:00
<a href="/me">My Account</a>
</li>
</ul>
</div>
2016-01-04 12:20:40 +00:00
{% endblock %}
2016-01-01 11:53:12 +00:00
{% block page_content %}
2016-05-02 06:13:44 +00:00
<div class="item-group-content" itemscope itemtype="http://schema.org/Product">
<div>
{% if slideshow %}<!-- slideshow -->
{% include "templates/includes/slideshow.html" %}
{% endif %}
{% if description %}<!-- description -->
<div itemprop="description">{{ description or ""}}</div>
{% endif %}
</div>
<div>
{% if items %}
<div id="search-list" {% if not products_as_list -%} class="row" {%- endif %}>
2016-12-19 06:21:02 +00:00
{% for i in range(0, page_length) %}
{% if items[i] %}
{{ items[i] }}
{% endif %}
{% endfor %}
</div>
<div class="text-center item-group-nav-buttons">
{% if frappe.form_dict.start|int > 0 %}
2016-09-11 11:18:24 +00:00
<a class="btn btn-default" href="/{{ pathname }}?start={{ frappe.form_dict.start|int - page_length }}">Prev</a>
{% endif %}
2016-12-19 06:21:02 +00:00
{% if items|length > page_length %}
2016-09-11 11:18:24 +00:00
<a class="btn btn-default" href="/{{ pathname }}?start={{ frappe.form_dict.start|int + page_length }}">Next</a>
{% endif %}
</div>
{% else %}
2014-04-21 16:40:15 +00:00
<div class="text-muted">No items listed.</div>
{% endif %}
2014-04-21 06:12:22 +00:00
</div>
</div>
2016-04-20 10:50:49 +00:00
{% endblock %}