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

44 lines
1.4 KiB
HTML
Raw Normal View History

2016-01-01 11:53:12 +00:00
{% extends "templates/web.html" %}
{% block breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endblock %}
{% block header %}<h1>{{ name }}</h1>{% endblock %}
2016-01-04 12:20:40 +00:00
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">
2020-08-11 10:33:46 +00:00
<div class="item-group-slideshow">
{% if slideshow %}<!-- slideshow -->
{% include "templates/includes/slideshow.html" %}
{% endif %}
{% if description %}<!-- description -->
<div class="mb-3" itemprop="description">{{ description or ""}}</div>
{% endif %}
</div>
<div class="row">
<div class="col-md-8">
{% if items %}
<div id="search-list">
{% for i in range(0, page_length) %}
{% if items[i] %}
{%- set item = items[i] %}
{% include "erpnext/www/all-products/item_row.html" %}
{% endif %}
{% endfor %}
</div>
<div class="item-group-nav-buttons">
{% if frappe.form_dict.start|int > 0 %}
<a class="btn btn-outline-secondary" href="/{{ pathname }}?start={{ frappe.form_dict.start|int - page_length }}">{{ _("Prev") }}</a>
2016-12-19 06:21:02 +00:00
{% endif %}
{% if items|length > page_length %}
<a class="btn btn-outline-secondary" href="/{{ pathname }}?start={{ frappe.form_dict.start|int + page_length }}">{{ _("Next") }}</a>
{% endif %}
</div>
{% else %}
<div class="text-muted">{{ _("No items listed") }}.</div>
{% endif %}
</div>
2014-04-21 06:12:22 +00:00
</div>
</div>
2016-04-20 10:50:49 +00:00
{% endblock %}