diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-23 21:57:08 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:23:19 +0200 |
commit | 8ce9e815c8212647d702b94ca8633943d1aa663a (patch) | |
tree | 76bec30e63d3d8bbc34425d7bd28b7b53052f5ac /client/src/app/videos/video-list | |
parent | b362290d40a93cf0f9746f9aeae4fe5457157a81 (diff) | |
download | PeerTube-8ce9e815c8212647d702b94ca8633943d1aa663a.tar.gz PeerTube-8ce9e815c8212647d702b94ca8633943d1aa663a.tar.zst PeerTube-8ce9e815c8212647d702b94ca8633943d1aa663a.zip |
Client: display video tags
Diffstat (limited to 'client/src/app/videos/video-list')
-rw-r--r-- | client/src/app/videos/video-list/video-miniature.component.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-miniature.component.html b/client/src/app/videos/video-list/video-miniature.component.html index 826aa6a29..ba70002b0 100644 --- a/client/src/app/videos/video-list/video-miniature.component.html +++ b/client/src/app/videos/video-list/video-miniature.component.html | |||
@@ -24,6 +24,12 @@ | |||
24 | <a [routerLink]="['/videos/watch', video.id]" [attr.title]="getVideoName()" class="video-miniature-name">{{ getVideoName() }}</a> | 24 | <a [routerLink]="['/videos/watch', video.id]" [attr.title]="getVideoName()" class="video-miniature-name">{{ getVideoName() }}</a> |
25 | </span> | 25 | </span> |
26 | 26 | ||
27 | <div class="video-miniature-tags"> | ||
28 | <span *ngFor="let tag of video.tags" class="video-miniature-tag"> | ||
29 | <a [routerLink]="['/videos/list', { field: 'tags', search: tag, sort: currentSort }]" class="label label-primary">{{ tag }}</a> | ||
30 | </span> | ||
31 | </div> | ||
32 | |||
27 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a> | 33 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a> |
28 | <span class="video-miniature-created-at">{{ video.createdAt | date:'short' }}</span> | 34 | <span class="video-miniature-created-at">{{ video.createdAt | date:'short' }}</span> |
29 | </div> | 35 | </div> |