]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-list/video-overview.component.html
Improve account channel page
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-list / video-overview.component.html
CommitLineData
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
3a0fb65c 10 <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
2d3741d6
C
11 </div>
12
13 <div class="section" *ngFor="let object of overview.tags">
c8487f3f 14 <div class="section-title">
9ffdd52a 15 <a routerLink="/search" [queryParams]="{ tagsOneOf: [ object.tag ] }">#{{ object.tag }}</a>
2d3741d6
C
16 </div>
17
3a0fb65c 18 <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
2d3741d6
C
19 </div>
20
1a471091 21 <div class="section channel" *ngFor="let object of overview.channels">
c8487f3f 22 <div class="section-title">
1a471091
C
23 <a [routerLink]="[ '/video-channels', buildVideoChannelBy(object) ]">
24 <img [src]="buildVideoChannelAvatarUrl(object)" alt="Avatar" />
25
26 <div>{{ object.channel.displayName }}</div>
27 </a>
2d3741d6
C
28 </div>
29
3a0fb65c 30 <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
2d3741d6
C
31 </div>
32
33</div>