diff options
Diffstat (limited to 'client/src/app/search/search.component.html')
-rw-r--r-- | client/src/app/search/search.component.html | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/client/src/app/search/search.component.html b/client/src/app/search/search.component.html index b8c4d7dc5..3a63dbcec 100644 --- a/client/src/app/search/search.component.html +++ b/client/src/app/search/search.component.html | |||
@@ -1,10 +1,28 @@ | |||
1 | <div i18n *ngIf="pagination.totalItems === 0" class="no-result"> | ||
2 | No results found | ||
3 | </div> | ||
4 | |||
5 | <div myInfiniteScroller [autoLoading]="true" (nearOfBottom)="onNearOfBottom()" class="search-result"> | 1 | <div myInfiniteScroller [autoLoading]="true" (nearOfBottom)="onNearOfBottom()" class="search-result"> |
6 | <div i18n *ngIf="pagination.totalItems" class="results-counter"> | 2 | <div i18n class="results-header"> |
7 | {{ pagination.totalItems | myNumberFormatter }} results for <span class="search-value">{{ currentSearch }}</span> | 3 | <div class="first-line"> |
4 | <div class="results-counter"> | ||
5 | <ng-container *ngIf="pagination.totalItems"> | ||
6 | {{ pagination.totalItems | myNumberFormatter }} results for <span class="search-value">{{ currentSearch }}</span> | ||
7 | </ng-container> | ||
8 | </div> | ||
9 | |||
10 | <div | ||
11 | class="results-filter-button" (click)="isSearchFilterCollapsed = !isSearchFilterCollapsed" role="button" | ||
12 | [attr.aria-expanded]="isSearchFilterCollapsed" aria-controls="collapseBasic" | ||
13 | > | ||
14 | <span class="icon icon-filter"></span> | ||
15 | <ng-container i18n>Filters</ng-container> | ||
16 | </div> | ||
17 | </div> | ||
18 | |||
19 | <div class="results-filter" [collapse]="isSearchFilterCollapsed"> | ||
20 | <my-search-filters [advancedSearch]="advancedSearch" (filtered)="onFiltered($event)"></my-search-filters> | ||
21 | </div> | ||
22 | </div> | ||
23 | |||
24 | <div i18n *ngIf="pagination.totalItems === 0" class="no-result"> | ||
25 | No results found | ||
8 | </div> | 26 | </div> |
9 | 27 | ||
10 | <div *ngFor="let video of videos" class="entry video"> | 28 | <div *ngFor="let video of videos" class="entry video"> |