aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video/video-views-counter.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-video/video-views-counter.component.html')
-rw-r--r--client/src/app/shared/shared-video/video-views-counter.component.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-video/video-views-counter.component.html b/client/src/app/shared/shared-video/video-views-counter.component.html
new file mode 100644
index 000000000..a6679f74d
--- /dev/null
+++ b/client/src/app/shared/shared-video/video-views-counter.component.html
@@ -0,0 +1,9 @@
1<span [title]="video.getExactNumberOfViews()">
2 <ng-container i18n *ngIf="!video.isLive">
3 {video.views, plural, =1 {1 view} other {{{ video.views | myNumberFormatter }} views}}
4 </ng-container>
5
6 <ng-container i18n *ngIf="video.isLive">
7 {video.views, plural, =1 {1 viewer} other {{{ video.views | myNumberFormatter }} viewers}}
8 </ng-container>
9</span>