1 <div myInfiniteScroller [autoInit]=
"true" (nearOfBottom)=
"onNearOfBottom()" class=
"search-result">
2 <div class=
"results-header">
3 <div class=
"first-line">
4 <div class=
"results-counter" *
ngIf=
"pagination.totalItems">
5 <span i18n
>{{ pagination.totalItems | myNumberFormatter }} results
</span>
6 <span *
ngIf=
"currentSearch" i18n
>
7 for
<span class=
"search-value">{{ currentSearch }}
</span>
12 class=
"results-filter-button ml-auto" (click)=
"isSearchFilterCollapsed = !isSearchFilterCollapsed" role=
"button"
13 [attr.aria-expanded]=
"!isSearchFilterCollapsed" aria-controls=
"collapseBasic"
15 <span class=
"icon icon-filter"></span>
18 <span *
ngIf=
"numberOfFilters() > 0" class=
"badge badge-secondary">{{ numberOfFilters() }}
</span>
23 <div class=
"results-filter collapse-transition" [ngbCollapse]=
"isSearchFilterCollapsed">
24 <my-search-filters [advancedSearch]=
"advancedSearch" (filtered)=
"onFiltered()"></my-search-filters>
28 <div i18n *
ngIf=
"pagination.totalItems === 0 && results.length === 0" class=
"no-results">
32 <ng-container *
ngFor=
"let result of results">
33 <div *
ngIf=
"isVideoChannel(result)" class=
"entry video-channel">
34 <a [routerLink]=
"[ '/video-channels', result.nameWithHost ]">
35 <img [src]=
"result.avatarUrl" alt=
"Avatar" />
38 <div class=
"video-channel-info">
39 <a [routerLink]=
"[ '/video-channels', result.nameWithHost ]" class=
"video-channel-names">
40 <div class=
"video-channel-display-name">{{ result.displayName }}
</div>
41 <div class=
"video-channel-name">{{ result.nameWithHost }}
</div>
44 <div i18n
class=
"video-channel-followers">{{ result.followersCount }} subscribers
</div>
47 <my-subscribe-button [videoChannel]=
"result"></my-subscribe-button>
50 <div *
ngIf=
"isVideo(result)" class=
"entry video">
52 [video]=
"result" [user]=
"user" [displayAsRow]=
"true"
53 (videoBlacklisted)=
"removeVideoFromArray(result)" (videoRemoved)=
"removeVideoFromArray(result)"
54 ></my-video-miniature>