diff options
Diffstat (limited to 'client/src/app/videos/video-list/video-miniature.component.html')
-rw-r--r-- | client/src/app/videos/video-list/video-miniature.component.html | 20 |
1 files changed, 11 insertions, 9 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 b8b448631..0b0b0d944 100644 --- a/client/src/app/videos/video-list/video-miniature.component.html +++ b/client/src/app/videos/video-list/video-miniature.component.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <div class="video-miniature col-md-4 col-sm-6 col-xs-6" (mouseenter)="onHover()" (mouseleave)="onBlur()"> | 1 | <div class="video-miniature" (mouseenter)="onHover()" (mouseleave)="onBlur()"> |
2 | <a | 2 | <a |
3 | [routerLink]="['/videos/watch', video.id]" [attr.title]="video.description" | 3 | [routerLink]="['/videos/watch', video.id]" [attr.title]="video.description" |
4 | class="video-miniature-thumbnail" | 4 | class="video-miniature-thumbnail" |
@@ -8,18 +8,20 @@ | |||
8 | NSFW | 8 | NSFW |
9 | </div> | 9 | </div> |
10 | 10 | ||
11 | <span class="video-miniature-duration">{{ video.duration }}</span> | 11 | <div class="video-miniature-thumbnail-overlay"> |
12 | <span class="video-miniature-thumbnail-overlay-views">{{ video.views }} views</span> | ||
13 | <span class="video-miniature-thumbnail-overlay-duration">{{ video.duration }}</span> | ||
14 | </div> | ||
12 | </a> | 15 | </a> |
13 | 16 | ||
17 | <span | ||
18 | *ngIf="displayRemoveIcon()" (click)="removeVideo(video.id)" | ||
19 | class="video-miniature-remove glyphicon glyphicon-remove" | ||
20 | ></span> | ||
21 | |||
14 | <div class="video-miniature-informations"> | 22 | <div class="video-miniature-informations"> |
15 | <span class="video-miniature-name-tags"> | 23 | <span class="video-miniature-name"> |
16 | <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> |
17 | |||
18 | <div class="video-miniature-tags"> | ||
19 | <span *ngFor="let tag of video.tags" class="video-miniature-tag"> | ||
20 | <a [routerLink]="['/videos/list', { field: 'tags', search: tag, sort: currentSort }]" class="label label-primary">{{ tag }}</a> | ||
21 | </span> | ||
22 | </div> | ||
23 | </span> | 25 | </span> |
24 | 26 | ||
25 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a> | 27 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a> |