1 <h1 class=
"visually-hidden" i18n
>Discover
</h1>
2 <div class=
"margin-content">
4 <div class=
"no-results" i18n *
ngIf=
"notResults">No results.
</div>
7 myInfiniteScroller (nearOfBottom)=
"onNearOfBottom()" [dataObservable]=
"onDataSubject.asObservable()"
9 <ng-container *
ngFor=
"let overview of overviews">
11 <div class=
"section videos" *
ngFor=
"let object of overview.categories">
12 <h1 class=
"section-title">
13 <a class=
"link-orange" routerLink=
"/search" [queryParams]=
"{ categoryOneOf: [ object.category.id ] }">{{ object.category.label }}
</a>
16 <div class=
"video-wrapper" *
ngFor=
"let video of buildVideos(object.videos)">
17 <my-video-miniature [video]=
"video" [user]=
"userMiniature" [displayVideoActions]=
"true">
22 <div class=
"section videos" *
ngFor=
"let object of overview.tags">
23 <h2 class=
"section-title">
24 <a class=
"link-orange" routerLink=
"/search" [queryParams]=
"{ tagsOneOf: [ object.tag ] }">#{{ object.tag }}
</a>
27 <div class=
"video-wrapper" *
ngFor=
"let video of buildVideos(object.videos)">
28 <my-video-miniature [video]=
"video" [user]=
"userMiniature" [displayVideoActions]=
"true">
33 <div class=
"section channel videos" *
ngFor=
"let object of overview.channels">
34 <div class=
"section-title">
35 <a class=
"link-orange" [routerLink]=
"[ '/c', buildVideoChannelBy(object) ]">
36 <my-actor-avatar [channel]=
"buildVideoChannel(object)" size=
"28"></my-actor-avatar>
38 <h2 class=
"section-title">{{ object.channel.displayName }}
</h2>
42 <div class=
"video-wrapper" *
ngFor=
"let video of buildVideos(object.videos)">
43 <my-video-miniature [video]=
"video" [user]=
"userMiniature" [displayVideoActions]=
"true">