From 7e8183bf8f8c41429fc20deb7cf55202e8301d3d Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Wed, 18 Dec 2019 19:52:23 +1030 Subject: [PATCH] Changed the way categories results are displayed --- views/themes/Cloth/index.hbs | 8 ++++---- views/themes/Material/index.hbs | 8 ++++---- views/themes/Mono/index.hbs | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/views/themes/Cloth/index.hbs b/views/themes/Cloth/index.hbs index cb9abb0..d0feacf 100644 --- a/views/themes/Cloth/index.hbs +++ b/views/themes/Cloth/index.hbs @@ -2,11 +2,11 @@
{{#if filtered}}
- {{#if menuLink}} -

{{ @root.__ "Category" }}: {{menuLink.title}}

+ {{#ifCond @root.paginateUrl '==' 'category'}} +

{{ @root.__ "Category" }}: {{@root.searchTerm}}

{{else}} -

{{ @root.__ "Search results" }}: {{searchTerm}}

- {{/if}} +

{{ @root.__ "Search results" }}: {{@root.searchTerm}}

+ {{/ifCond}}
{{/if}}
diff --git a/views/themes/Material/index.hbs b/views/themes/Material/index.hbs index 61fa9f3..090f88e 100644 --- a/views/themes/Material/index.hbs +++ b/views/themes/Material/index.hbs @@ -2,11 +2,11 @@
{{#if filtered}}
- {{#if menuLink}} -

{{ @root.__ "Category" }}: {{menuLink.title}}

+ {{#ifCond @root.paginateUrl '==' 'category'}} +

{{ @root.__ "Category" }}: {{@root.searchTerm}}

{{else}} -

{{ @root.__ "Search results" }}: {{searchTerm}}

- {{/if}} +

{{ @root.__ "Search results" }}: {{@root.searchTerm}}

+ {{/ifCond}}
{{/if}}
diff --git a/views/themes/Mono/index.hbs b/views/themes/Mono/index.hbs index 0af6998..9616da9 100644 --- a/views/themes/Mono/index.hbs +++ b/views/themes/Mono/index.hbs @@ -2,11 +2,11 @@
{{#if filtered}}
- {{#if menuLink}} -

{{ @root.__ "Category" }}: {{menuLink.title}}

+ {{#ifCond @root.paginateUrl '==' 'category'}} +

{{ @root.__ "Category" }}: {{@root.searchTerm}}

{{else}} -

{{ @root.__ "Search results" }}: {{searchTerm}}

- {{/if}} +

{{ @root.__ "Search results" }}: {{@root.searchTerm}}

+ {{/ifCond}}
{{/if}}