aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video/video-views-counter.component.html
blob: a6679f74da64436a15c7153e8c6db3e421da83d1 (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.views, plural, =1 {1 viewer} other {{{ video.views | myNumberFormatter }} viewers}}
  </ng-container>
</span>