forked from thirtybees/niara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supplier.tpl
43 lines (37 loc) · 1.35 KB
/
supplier.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{include file="$tpl_dir./errors.tpl"}
{if !isset($errors) OR !sizeof($errors)}
<section>
<h1 class="page-heading">{$supplier->name|escape:'html':'UTF-8'}</h1>
{if !empty($supplier->description)}
<div class="rte">{$supplier->description}</div>
{/if}
</section>
{if !empty($products)}
<section>
<h2 class="page-heading">
{l s='List of products by supplier:'} {$supplier->name|escape:'html':'UTF-8'}
</h2>
{hook h='displaySupplierTop'}
<div class="content_sortPagiBar">
<div class="form-inline sortPagiBar clearfix">
{include file="./product-sort.tpl"}
{include file="./nbr-product-page.tpl"}
</div>
<div class="top-pagination-content form-inline clearfix">
{include file="./product-compare.tpl"}
{include file="$tpl_dir./pagination.tpl" no_follow=1}
</div>
</div>
{include file="./product-list.tpl" products=$products}
<div class="content_sortPagiBar">
<div class="bottom-pagination-content form-inline clearfix">
{include file="./product-compare.tpl"}
{include file="./pagination.tpl" paginationId='bottom' no_follow=1}
</div>
</div>
</section>
{else}
<div class="alert alert-warning">{l s='No products for this supplier.'}</div>
{/if}
{/if}
{hook h='displaySupplierBelow'}