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, 1 insertions, 5 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index a31165a41..ce977b3e6 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html | |||
@@ -24,11 +24,7 @@ | |||
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 }} | 27 | <ng-container i18n *ngIf="displayOptions.views">{video.views, plural, =1 {1 view} other {{{ video.views | myNumberFormatter }} views}}</ng-container> |
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> | ||
32 | </span> | 28 | </span> |
33 | </span> | 29 | </span> |
34 | 30 | ||