]>
Commit | Line | Data |
---|---|---|
2d3741d6 C |
1 | <div class="margin-content"> |
2 | ||
3 | <div class="no-results" i18n *ngIf="notResults">No results.</div> | |
4 | ||
111fdc26 C |
5 | <div |
6 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" | |
7 | > | |
8 | <ng-container *ngFor="let overview of overviews"> | |
2d3741d6 | 9 | |
111fdc26 C |
10 | <div class="section" *ngFor="let object of overview.categories"> |
11 | <div class="section-title"> | |
12 | <a routerLink="/search" [queryParams]="{ categoryOneOf: [ object.category.id ] }">{{ object.category.label }}</a> | |
13 | </div> | |
2d3741d6 | 14 | |
111fdc26 C |
15 | <my-video-miniature *ngFor="let video of buildVideos(object.videos)" [video]="video" [user]="user" [displayVideoActions]="false"> |
16 | </my-video-miniature> | |
17 | </div> | |
2d3741d6 | 18 | |
111fdc26 C |
19 | <div class="section" *ngFor="let object of overview.tags"> |
20 | <div class="section-title"> | |
21 | <a routerLink="/search" [queryParams]="{ tagsOneOf: [ object.tag ] }">#{{ object.tag }}</a> | |
22 | </div> | |
23 | ||
24 | <my-video-miniature *ngFor="let video of buildVideos(object.videos)" [video]="video" [user]="user" [displayVideoActions]="false"> | |
25 | </my-video-miniature> | |
26 | </div> | |
27 | ||
28 | <div class="section channel" *ngFor="let object of overview.channels"> | |
29 | <div class="section-title"> | |
30 | <a [routerLink]="[ '/video-channels', buildVideoChannelBy(object) ]"> | |
31 | <img [src]="buildVideoChannelAvatarUrl(object)" alt="Avatar" /> | |
32 | ||
33 | <div>{{ object.channel.displayName }}</div> | |
34 | </a> | |
35 | </div> | |
2d3741d6 | 36 | |
111fdc26 C |
37 | <my-video-miniature *ngFor="let video of buildVideos(object.videos)" [video]="video" [user]="user" [displayVideoActions]="false"> |
38 | </my-video-miniature> | |
39 | </div> | |
1a471091 | 40 | |
111fdc26 | 41 | </ng-container> |
2d3741d6 | 42 | |
2d3741d6 C |
43 | </div> |
44 | ||
45 | </div> |