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 | 8 |
1 files changed, 6 insertions, 2 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 b2bf35435..94b892698 100644 --- a/client/src/app/videos/video-list/video-miniature.component.html +++ b/client/src/app/videos/video-list/video-miniature.component.html | |||
@@ -3,7 +3,11 @@ | |||
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" |
5 | > | 5 | > |
6 | <img [attr.src]="video.thumbnailPath" alt="video thumbnail" /> | 6 | <img *ngIf="isVideoNSFWForThisUser() === false" [attr.src]="video.thumbnailPath" alt="video thumbnail" /> |
7 | <div *ngIf="isVideoNSFWForThisUser()" class="thumbnail-nsfw"> | ||
8 | NSFW | ||
9 | </div> | ||
10 | |||
7 | <span class="video-miniature-duration">{{ video.duration }}</span> | 11 | <span class="video-miniature-duration">{{ video.duration }}</span> |
8 | </a> | 12 | </a> |
9 | <span | 13 | <span |
@@ -13,7 +17,7 @@ | |||
13 | 17 | ||
14 | <div class="video-miniature-informations"> | 18 | <div class="video-miniature-informations"> |
15 | <span class="video-miniature-name-tags"> | 19 | <span class="video-miniature-name-tags"> |
16 | <a [routerLink]="['/videos/watch', video.id]" [attr.title]="video.name" class="video-miniature-name">{{ video.name }}</a> | 20 | <a [routerLink]="['/videos/watch', video.id]" [attr.title]="getVideoName()" class="video-miniature-name">{{ getVideoName() }}</a> |
17 | 21 | ||
18 | <div class="video-miniature-tags"> | 22 | <div class="video-miniature-tags"> |
19 | <span *ngFor="let tag of video.tags" class="video-miniature-tag"> | 23 | <span *ngFor="let tag of video.tags" class="video-miniature-tag"> |