diff options
Diffstat (limited to 'client/src/app/shared/video/video-thumbnail.component.html')
-rw-r--r-- | client/src/app/shared/video/video-thumbnail.component.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-thumbnail.component.html b/client/src/app/shared/video/video-thumbnail.component.html index b63085b81..fe5510c56 100644 --- a/client/src/app/shared/video/video-thumbnail.component.html +++ b/client/src/app/shared/video/video-thumbnail.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <a | 1 | <a |
2 | [routerLink]="getVideoRouterLink()" [queryParams]="queryParams" [title]="video.name" | 2 | [routerLink]="getVideoRouterLink()" [queryParams]="queryParams" |
3 | class="video-thumbnail" | 3 | class="video-thumbnail" |
4 | > | 4 | > |
5 | <img alt="" [attr.aria-label]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" /> | 5 | <img alt="" [attr.aria-label]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" /> |
@@ -18,6 +18,9 @@ | |||
18 | </ng-container> | 18 | </ng-container> |
19 | </div> | 19 | </div> |
20 | 20 | ||
21 | <div class="video-thumbnail-label-overlay warning"><ng-content select="label-warning"></ng-content></div> | ||
22 | <div class="video-thumbnail-label-overlay danger"><ng-content select="label-danger"></ng-content></div> | ||
23 | |||
21 | <div class="video-thumbnail-duration-overlay">{{ video.durationLabel }}</div> | 24 | <div class="video-thumbnail-duration-overlay">{{ video.durationLabel }}</div> |
22 | 25 | ||
23 | <div class="play-overlay"> | 26 | <div class="play-overlay"> |