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