Merge branch 'develop' into cli-wrapper
[oweals/peertube.git] / client / src / app / videos / video-list / video-overview.component.html
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">
6     <div class="section-title" i18n>
7       <a routerLink="/search" [queryParams]="{ categoryOneOf: [ object.category.id ] }">{{ object.category.label }}</a>
8     </div>
9
10     <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
11   </div>
12
13   <div class="section" *ngFor="let object of overview.tags">
14     <div class="section-title" i18n>
15       <a routerLink="/search" [queryParams]="{ tagsOneOf: [ object.tag ] }">{{ object.tag }}</a>
16     </div>
17
18     <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
19   </div>
20
21   <div class="section channel" *ngFor="let object of overview.channels">
22     <div class="section-title" i18n>
23       <a [routerLink]="[ '/video-channels', buildVideoChannelBy(object) ]">
24         <img [src]="buildVideoChannelAvatarUrl(object)" alt="Avatar" />
25
26         <div>{{ object.channel.displayName }}</div>
27       </a>
28     </div>
29
30     <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
31   </div>
32
33 </div>