aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video/video-views-counter.component.html
blob: b19c8b1375fa76c8b4f63ba6cf190f8b0ec3be85 (plain) (blame)
1
2
3
4
5
6
7
8
9
<span [title]="video.getExactNumberOfViews()">
  <ng-container i18n *ngIf="!video.isLive">
    {video.views, plural, =1 {1 view} other {{{ video.views | myNumberFormatter }} views}}
  </ng-container>

  <ng-container i18n *ngIf="video.isLive">
    {video.viewers, plural, =1 {1 viewer} other {{{ video.viewers | myNumberFormatter }} viewers}}
  </ng-container>
</span>