45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
{% extends "templates/web.html" %}
|
|
|
|
{% block header %}<h1>{{ _("Products") }}</h1>{% endblock %}
|
|
{% block breadcrumbs %}
|
|
<div class="page-breadcrumbs" data-html-block="breadcrumbs">
|
|
<ul class="breadcrumb">
|
|
<li>
|
|
<span class="icon icon-angle-left"></span>
|
|
<a href="/me">My Account</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block page_content %}
|
|
<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 %}>
|
|
{% for item in items %}
|
|
{{ item }}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="text-center item-group-nav-buttons">
|
|
{% if frappe.form_dict.start|int > 0 %}
|
|
<a class="btn btn-default" href="/{{ pathname }}?start={{ frappe.form_dict.start|int - page_length }}">Prev</a>
|
|
{% endif %}
|
|
{% if items|length == page_length %}
|
|
<a class="btn btn-default" 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>
|
|
</div>
|
|
{% endblock %} |