45 lines
1.3 KiB
HTML
Raw Normal View History

2016-01-01 17:23:12 +05:30
{% extends "templates/web.html" %}
2016-04-20 16:20:49 +05:30
{% block header %}<h1>{{ _("Products") }}</h1>{% endblock %}
2016-01-04 17:50:40 +05:30
{% block breadcrumbs %}
2016-04-20 16:20:49 +05:30
<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>
2016-01-04 17:50:40 +05:30
{% endblock %}
2016-01-01 17:23:12 +05:30
{% block page_content %}
2016-05-02 11:43:44 +05:30
<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 %}
2016-09-11 16:48:24 +05:30
<a class="btn btn-default" href="/{{ pathname }}?start={{ frappe.form_dict.start|int - page_length }}">Prev</a>
{% endif %}
2016-09-11 16:48:24 +05:30
{% 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 %}
2014-04-21 22:10:15 +05:30
<div class="text-muted">No items listed.</div>
{% endif %}
2014-04-21 11:42:22 +05:30
</div>
</div>
2016-04-20 16:20:49 +05:30
{% endblock %}