]>
Commit | Line | Data |
---|---|---|
a64668c0 | 1 | <div class="video-miniature col-md-4 col-sm-6 col-xs-6" (mouseenter)="onHover()" (mouseleave)="onBlur()"> |
501bc6c2 | 2 | <a |
00a44645 | 3 | [routerLink]="['/videos/watch', video.id]" [attr.title]="video.description" |
501bc6c2 C |
4 | class="video-miniature-thumbnail" |
5 | > | |
6 | <img [attr.src]="video.thumbnailPath" alt="video thumbnail" /> | |
7 | <span class="video-miniature-duration">{{ video.duration }}</span> | |
8 | </a> | |
9 | <span | |
10 | *ngIf="displayRemoveIcon()" (click)="removeVideo(video.id)" | |
11 | class="video-miniature-remove glyphicon glyphicon-remove" | |
12 | ></span> | |
13 | ||
14 | <div class="video-miniature-informations"> | |
00a44645 | 15 | <span class="video-miniature-name-tags"> |
1e128cdb | 16 | <a [routerLink]="['/videos/watch', video.id]" [attr.title]="video.name" class="video-miniature-name">{{ video.name }}</a> |
501bc6c2 | 17 | |
0629423c C |
18 | <div class="video-miniature-tags"> |
19 | <span *ngFor="let tag of video.tags" class="video-miniature-tag"> | |
bddab65a | 20 | <a [routerLink]="['/videos/list', { field: 'tags', search: tag, sort: currentSort }]" class="label label-primary">{{ tag }}</a> |
0629423c C |
21 | </span> |
22 | </div> | |
00a44645 C |
23 | </span> |
24 | ||
bddab65a | 25 | <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a> |
0629423c | 26 | <span class="video-miniature-created-date">{{ video.createdDate | date:'short' }}</span> |
501bc6c2 C |
27 | </div> |
28 | </div> |