diff options
author | Chocobozzz <me@florianbigard.com> | 2020-10-27 08:45:30 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | da0310f821b039fea1fcbf8aea49e1d2279ba98e (patch) | |
tree | 0a3226c045df53f280a7d55250c2c0c108164899 /client/src/app/shared/shared-thumbnail/video-thumbnail.component.html | |
parent | b5b687550d8ef8beafdf706e45d6556fb5f4c876 (diff) | |
download | PeerTube-da0310f821b039fea1fcbf8aea49e1d2279ba98e.tar.gz PeerTube-da0310f821b039fea1fcbf8aea49e1d2279ba98e.tar.zst PeerTube-da0310f821b039fea1fcbf8aea49e1d2279ba98e.zip |
Add thumbnail info if live
Diffstat (limited to 'client/src/app/shared/shared-thumbnail/video-thumbnail.component.html')
-rw-r--r-- | client/src/app/shared/shared-thumbnail/video-thumbnail.component.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.html b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.html index 0cb0f321b..be07844ab 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.html +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.html | |||
@@ -26,7 +26,8 @@ | |||
26 | <div class="video-thumbnail-label-overlay warning"><ng-content select="label-warning"></ng-content></div> | 26 | <div class="video-thumbnail-label-overlay warning"><ng-content select="label-warning"></ng-content></div> |
27 | <div class="video-thumbnail-label-overlay danger"><ng-content select="label-danger"></ng-content></div> | 27 | <div class="video-thumbnail-label-overlay danger"><ng-content select="label-danger"></ng-content></div> |
28 | 28 | ||
29 | <div class="video-thumbnail-duration-overlay">{{ video.durationLabel }}</div> | 29 | <div class="video-thumbnail-duration-overlay" *ngIf="!video.isLive">{{ video.durationLabel }}</div> |
30 | <div i18n class="video-thumbnail-live-overlay" *ngIf="video.isLive">LIVE</div> | ||
30 | 31 | ||
31 | <div class="play-overlay"> | 32 | <div class="play-overlay"> |
32 | <div class="icon"></div> | 33 | <div class="icon"></div> |