2016-01-01 11:53:12 +00:00
|
|
|
{% extends "templates/web.html" %}
|
|
|
|
|
2018-08-16 03:52:33 +00:00
|
|
|
{% 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">
|
2014-04-18 10:45:31 +00:00
|
|
|
{% if slideshow %}<!-- slideshow -->
|
|
|
|
{% include "templates/includes/slideshow.html" %}
|
|
|
|
{% endif %}
|
|
|
|
{% if description %}<!-- description -->
|
2019-03-19 06:18:32 +00:00
|
|
|
<div class="mb-3" itemprop="description">{{ description or ""}}</div>
|
2014-04-18 10:45:31 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2019-03-19 06:18:32 +00:00
|
|
|
<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 %}
|
2019-03-19 06:18:32 +00:00
|
|
|
{% 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>
|
2016-04-09 16:55:21 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2014-04-21 06:12:22 +00:00
|
|
|
</div>
|
2014-04-18 10:45:31 +00:00
|
|
|
</div>
|
2016-04-20 10:50:49 +00:00
|
|
|
{% endblock %}
|