diff options
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index 036825e61..a31165a41 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html | |||
@@ -24,7 +24,11 @@ | |||
24 | 24 | ||
25 | <span class="views"> | 25 | <span class="views"> |
26 | <ng-container *ngIf="displayOptions.date && displayOptions.views"> • </ng-container> | 26 | <ng-container *ngIf="displayOptions.date && displayOptions.views"> • </ng-container> |
27 | <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container> | 27 | <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} |
28 | <ng-container *ngIf="video.views === 1; then single; else multiple"></ng-container> | ||
29 | <ng-template i18n #single>view</ng-template> | ||
30 | <ng-template i18n #multiple>views</ng-template> | ||
31 | </ng-container> | ||
28 | </span> | 32 | </span> |
29 | </span> | 33 | </span> |
30 | 34 | ||