Changed the way categories results are displayed
parent
c72681fdf2
commit
7e8183bf8f
|
@ -2,11 +2,11 @@
|
||||||
<div class="productsWrapper col-md-8 col-md-offset-2">
|
<div class="productsWrapper col-md-8 col-md-offset-2">
|
||||||
{{#if filtered}}
|
{{#if filtered}}
|
||||||
<div class="product-layout col-md-12">
|
<div class="product-layout col-md-12">
|
||||||
{{#if menuLink}}
|
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{else}}
|
{{else}}
|
||||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{/if}}
|
{{/ifCond}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="row product-layout">
|
<div class="row product-layout">
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<div class="productsWrapper col m8 offset-m2">
|
<div class="productsWrapper col m8 offset-m2">
|
||||||
{{#if filtered}}
|
{{#if filtered}}
|
||||||
<div class="product-layout col m12">
|
<div class="product-layout col m12">
|
||||||
{{#if menuLink}}
|
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{else}}
|
{{else}}
|
||||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{/if}}
|
{{/ifCond}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="row product-layout">
|
<div class="row product-layout">
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<div class="productsWrapper col m8 offset-m1">
|
<div class="productsWrapper col m8 offset-m1">
|
||||||
{{#if filtered}}
|
{{#if filtered}}
|
||||||
<div class="product-layout col m12">
|
<div class="product-layout col m12">
|
||||||
{{#if menuLink}}
|
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{else}}
|
{{else}}
|
||||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||||
{{/if}}
|
{{/ifCond}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="row product-layout">
|
<div class="row product-layout">
|
||||||
|
|
Loading…
Reference in New Issue