|
14 | 14 | <div class="search-results"> |
15 | 15 | <aside class="search-results-sidebar"> |
16 | 16 | {{#if source_filters}} |
| 17 | + <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_source'}}</h3> |
17 | 18 | <section class="filters-in-section collapsible-sidebar"> |
18 | 19 | <button type="button" class="collapsible-sidebar-toggle" aria-expanded="false" aria-label="{{t 'search_result_source_menu'}}"> |
19 | 20 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 12 12" aria-hidden="true" class="collapsible-sidebar-toggle-icon chevron-icon"> |
|
23 | 24 | <path stroke="currentColor" stroke-linecap="round" d="M3 9l6-6m0 6L3 3"/> |
24 | 25 | </svg> |
25 | 26 | </button> |
26 | | - <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_source'}}</h3> |
27 | 27 | <ul class="multibrand-filter-list multibrand-filter-list--collapsed"> |
28 | 28 | {{#each source_filters}} |
29 | 29 | <li> |
|
43 | 43 | {{/if}} |
44 | 44 | {{#if type_filters}} |
45 | 45 | <section class="filters-in-section collapsible-sidebar"> |
| 46 | + <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_type'}}</h3> |
46 | 47 | <button type="button" class="collapsible-sidebar-toggle" aria-expanded="false" aria-label="{{t 'search_result_type_menu'}}"> |
47 | 48 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 12 12" aria-hidden="true" class="collapsible-sidebar-toggle-icon chevron-icon"> |
48 | 49 | <path fill="none" stroke="currentColor" stroke-linecap="round" d="M3 4.5l2.6 2.6c.2.2.5.2.7 0L9 4.5"/> |
|
51 | 52 | <path stroke="currentColor" stroke-linecap="round" d="M3 9l6-6m0 6L3 3"/> |
52 | 53 | </svg> |
53 | 54 | </button> |
54 | | - <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_type'}}</h3> |
55 | 55 | <ul class="multibrand-filter-list multibrand-filter-list--collapsed"> |
56 | 56 | {{#each type_filters}} |
57 | 57 | <li> |
|
70 | 70 | {{/if}} |
71 | 71 | {{#if subfilters}} |
72 | 72 | <section class="filters-in-section collapsible-sidebar"> |
| 73 | + {{#is current_filter.identifier 'knowledge_base'}} |
| 74 | + <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_by_category'}}</h3> |
| 75 | + {{/is}} |
| 76 | + {{#is current_filter.identifier 'community'}} |
| 77 | + <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_by_topic'}}</h3> |
| 78 | + {{/is}} |
73 | 79 | <button type="button" class="collapsible-sidebar-toggle" aria-expanded="false" aria-label="{{t 'search_result_subfilter_menu'}}"> |
74 | 80 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 12 12" aria-hidden="true" class="collapsible-sidebar-toggle-icon chevron-icon"> |
75 | 81 | <path fill="none" stroke="currentColor" stroke-linecap="round" d="M3 4.5l2.6 2.6c.2.2.5.2.7 0L9 4.5"/> |
|
78 | 84 | <path stroke="currentColor" stroke-linecap="round" d="M3 9l6-6m0 6L3 3"/> |
79 | 85 | </svg> |
80 | 86 | </button> |
81 | | - {{#is current_filter.identifier 'knowledge_base'}} |
82 | | - <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_by_category'}}</h3> |
83 | | - {{/is}} |
84 | | - {{#is current_filter.identifier 'community'}} |
85 | | - <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_by_topic'}}</h3> |
86 | | - {{/is}} |
87 | 87 | <ul class="multibrand-filter-list multibrand-filter-list--collapsed"> |
88 | 88 | {{#each subfilters}} |
89 | 89 | <li> |
|
108 | 108 | {{/if}} |
109 | 109 | {{#if content_tag_filters}} |
110 | 110 | <section class="filters-in-section collapsible-sidebar"> |
| 111 | + <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_content_tag'}}</h3> |
111 | 112 | <button type="button" class="collapsible-sidebar-toggle" aria-expanded="false"> |
112 | 113 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 12 12" aria-hidden="true" class="collapsible-sidebar-toggle-icon chevron-icon"> |
113 | 114 | <path fill="none" stroke="currentColor" stroke-linecap="round" d="M3 4.5l2.6 2.6c.2.2.5.2.7 0L9 4.5"/> |
|
116 | 117 | <path stroke="currentColor" stroke-linecap="round" d="M3 9l6-6m0 6L3 3"/> |
117 | 118 | </svg> |
118 | 119 | </button> |
119 | | - <h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_content_tag'}}</h3> |
120 | 120 | <ul class="multibrand-filter-list multibrand-filter-list--collapsed"> |
121 | 121 | {{#each content_tag_filters}} |
122 | 122 | {{#if selected}} |
|
0 commit comments