diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-01 17:21:03 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-01 17:23:06 +0200 |
commit | c5d04b4f3543bd1e5b07773b191f58c520edf205 (patch) | |
tree | 8612c68f08925f90a72de492a01934af628b887e /client/src/app/search/search.component.html | |
parent | 99cc653f47a5db664ec119e66a84c8f6454eed0b (diff) | |
download | PeerTube-c5d04b4f3543bd1e5b07773b191f58c520edf205.tar.gz PeerTube-c5d04b4f3543bd1e5b07773b191f58c520edf205.tar.zst PeerTube-c5d04b4f3543bd1e5b07773b191f58c520edf205.zip |
add allow advancedSearch with empty search
a.k.a. filters on all videos
also added a badge showing the rough number of active filters
Diffstat (limited to 'client/src/app/search/search.component.html')
-rw-r--r-- | client/src/app/search/search.component.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/search/search.component.html b/client/src/app/search/search.component.html index 61a05895e..3a87ea1de 100644 --- a/client/src/app/search/search.component.html +++ b/client/src/app/search/search.component.html | |||
@@ -13,7 +13,10 @@ | |||
13 | [attr.aria-expanded]="!isSearchFilterCollapsed" aria-controls="collapseBasic" | 13 | [attr.aria-expanded]="!isSearchFilterCollapsed" aria-controls="collapseBasic" |
14 | > | 14 | > |
15 | <span class="icon icon-filter"></span> | 15 | <span class="icon icon-filter"></span> |
16 | <ng-container i18n>Filters</ng-container> | 16 | <ng-container i18n> |
17 | Filters | ||
18 | <span *ngIf="numberOfFilters() > 0" class="badge badge-secondary">{{ numberOfFilters() }}</span> | ||
19 | </ng-container> | ||
17 | </div> | 20 | </div> |
18 | </div> | 21 | </div> |
19 | 22 | ||