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">
|
||||
{{#if filtered}}
|
||||
<div class="product-layout col-md-12">
|
||||
{{#if menuLink}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
||||
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{else}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
||||
{{/if}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{/ifCond}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="row product-layout">
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<div class="productsWrapper col m8 offset-m2">
|
||||
{{#if filtered}}
|
||||
<div class="product-layout col m12">
|
||||
{{#if menuLink}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
||||
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{else}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
||||
{{/if}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{/ifCond}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="row product-layout">
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<div class="productsWrapper col m8 offset-m1">
|
||||
{{#if filtered}}
|
||||
<div class="product-layout col m12">
|
||||
{{#if menuLink}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{menuLink.title}}</strong></h4>
|
||||
{{#ifCond @root.paginateUrl '==' 'category'}}
|
||||
<h4>{{ @root.__ "Category" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{else}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{searchTerm}}</strong></h4>
|
||||
{{/if}}
|
||||
<h4>{{ @root.__ "Search results" }}: <strong>{{@root.searchTerm}}</strong></h4>
|
||||
{{/ifCond}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="row product-layout">
|
||||
|
|
Loading…
Reference in New Issue