]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-list/video-miniature.component.html
Use global uuid instead of remoteId for videos
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-list / video-miniature.component.html
CommitLineData
1f0215a9 1<div class="video-miniature">
501bc6c2 2 <a
0a6658fd 3 [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.description"
501bc6c2
C
4 class="video-miniature-thumbnail"
5 >
1840c2f7 6 <img *ngIf="isVideoNSFWForThisUser() === false" [attr.src]="video.thumbnailUrl" alt="video thumbnail" />
92fb909c
C
7 <div *ngIf="isVideoNSFWForThisUser()" class="thumbnail-nsfw">
8 NSFW
9 </div>
10
383bfc83
C
11 <div class="video-miniature-thumbnail-overlay">
12 <span class="video-miniature-thumbnail-overlay-views">{{ video.views }} views</span>
69f616ab 13 <span class="video-miniature-thumbnail-overlay-duration">{{ video.durationLabel }}</span>
383bfc83 14 </div>
501bc6c2 15 </a>
501bc6c2
C
16
17 <div class="video-miniature-informations">
383bfc83 18 <span class="video-miniature-name">
0a6658fd 19 <a [routerLink]="['/videos/watch', video.uuid]" [attr.title]="getVideoName()" class="video-miniature-name">{{ getVideoName() }}</a>
00a44645
C
20 </span>
21
8ce9e815
C
22 <div class="video-miniature-tags">
23 <span *ngFor="let tag of video.tags" class="video-miniature-tag">
24 <a [routerLink]="['/videos/list', { field: 'tags', search: tag, sort: currentSort }]" class="label label-primary">{{ tag }}</a>
25 </span>
26 </div>
27
bddab65a 28 <a [routerLink]="['/videos/list', { field: 'author', search: video.author, sort: currentSort }]" class="video-miniature-author">{{ video.by }}</a>
897ec54d 29 <span class="video-miniature-created-at">{{ video.createdAt | date:'short' }}</span>
501bc6c2
C
30 </div>
31</div>