diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-30 14:58:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-31 09:19:58 +0200 |
commit | 2d3741d6d92e9bd1f41694c7442a6d1da434e1f2 (patch) | |
tree | 93a1e609e14bc14ca9e77a6661ddc9c0e461d6f3 /client/src/app/videos/video-list/video-overview.component.html | |
parent | d9eaee3939bf2e93e5d775d32bce77842201faba (diff) | |
download | PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.gz PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.zst PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.zip |
Videos overview page: first version
Diffstat (limited to 'client/src/app/videos/video-list/video-overview.component.html')
-rw-r--r-- | client/src/app/videos/video-list/video-overview.component.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-overview.component.html b/client/src/app/videos/video-list/video-overview.component.html new file mode 100644 index 000000000..9282dd59c --- /dev/null +++ b/client/src/app/videos/video-list/video-overview.component.html | |||
@@ -0,0 +1,35 @@ | |||
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 ] }">Category {{ object.category.label }}</a> | ||
8 | </div> | ||
9 | |||
10 | <div> | ||
11 | <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature> | ||
12 | </div> | ||
13 | </div> | ||
14 | |||
15 | <div class="section" *ngFor="let object of overview.tags"> | ||
16 | <div class="section-title" i18n> | ||
17 | <a routerLink="/search" [queryParams]="{ categoryOneOf: [ object.category.id ] }">Tag {{ object.tag }}</a> | ||
18 | </div> | ||
19 | |||
20 | <div> | ||
21 | <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature> | ||
22 | </div> | ||
23 | </div> | ||
24 | |||
25 | <div class="section" *ngFor="let object of overview.channels"> | ||
26 | <div class="section-title" i18n> | ||
27 | <a [routerLink]="[ '/video-channels', buildVideoChannelBy(object) ]">Channel {{ object.channel.displayName }}</a> | ||
28 | </div> | ||
29 | |||
30 | <div> | ||
31 | <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature> | ||
32 | </div> | ||
33 | </div> | ||
34 | |||
35 | </div> | ||