From c34518346dc5a51c94efecd9e609953f7d6da1b0 Mon Sep 17 00:00:00 2001 From: Alicia Gonzalez Date: Thu, 28 Sep 2017 14:31:21 +0200 Subject: [PATCH] Removes unified search template --- templates/unified_search_results.hbs | 106 --------------------------- 1 file changed, 106 deletions(-) delete mode 100644 templates/unified_search_results.hbs diff --git a/templates/unified_search_results.hbs b/templates/unified_search_results.hbs deleted file mode 100644 index f4bb34741..000000000 --- a/templates/unified_search_results.hbs +++ /dev/null @@ -1,106 +0,0 @@ -
-
- - -
-
- {{#if help_center.community_enabled}} -
-

{{t 'filter_by_type'}}

-
    - {{#each filters}} -
  • - {{name}} -
  • - {{/each}} -
-
- {{/if}} - {{#if subfilters}} -
- {{#is current_filter.identifier 'knowledge_base'}} -

{{t 'filter_by_category'}}

- {{/is}} - {{#is current_filter.identifier 'community'}} -

{{t 'filter_by_topic'}}

- {{/is}} -
    - {{#each subfilters}} -
  • - {{name}} -
  • - {{/each}} -
-
- {{/if}} -
- -
-

- {{#is current_filter.identifier 'unified'}} - {{t 'preview_result_header' query=query count=results_count}} - {{else}} - {{#is current_subfilter.identifier 'all'}} - {{t 'results' query=query count=results_count}} - {{else}} - {{t 'results_with_scope' query=query count=results_count scope_name=current_subfilter.name}} - {{/is}} - {{/is}} -

- {{#if results}} -
    - {{#each results}} -
  • - {{title}} -
    - {{#if vote_sum}} - {{vote_sum}} - {{/if}} - {{#if comment_count}} - - {{comment_count}} - - {{/if}} -
    -
      -
    • - -
    • - - -
    -
    {{text}}
    -
  • - {{/each}} -
- {{#is current_filter.identifier 'unified'}} - {{#if knowledge_base_result_count}} - {{#link 'search_result' query=query filter_by='knowledge_base' class='filter-link'}} - {{t 'see_more_knowledge_base' count=knowledge_base_result_count}} - {{/link}} - {{/if}} - {{#if community_result_count}} - {{#link 'search_result' query=query filter_by='community' class='filter-link'}} - {{t 'see_more_community' count=community_result_count}} - {{/link}} - {{/if}} - {{/is}} - {{else}} -

- {{t 'no_results_unified'}} - {{#link 'help_center'}} - {{t 'browse_help_center'}} - {{/link}} -

- {{/if}} -
-
- {{pagination}} -