diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-09 15:00:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-09 15:33:16 +0100 |
commit | 5cac83a78d6ba5212755fafce2ed25f7c74b04e5 (patch) | |
tree | c0aa6473f7837fdb15f1dc2c814e7efa02d78c19 /client/src/app/+videos/+video-watch/video-watch.component.html | |
parent | 0d8de2756fdc43be61a82a96c17d12ee52ba0143 (diff) | |
download | PeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.tar.gz PeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.tar.zst PeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.zip |
Refactor views component
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.html b/client/src/app/+videos/+video-watch/video-watch.component.html index 602214ac5..9cabe3bbc 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html | |||
@@ -53,12 +53,8 @@ | |||
53 | 53 | ||
54 | <div class="video-info-date-views"> | 54 | <div class="video-info-date-views"> |
55 | <ng-container i18n>Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle></ng-container> | 55 | <ng-container i18n>Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle></ng-container> |
56 | 56 | • | |
57 | <span i18n [title]="video.getExactNumberOfViews()" class="views"> | 57 | <my-video-views-counter [video]="video"></my-video-views-counter> |
58 | • {{ video.views | myNumberFormatter }} | ||
59 | <ng-container *ngIf="!video.isLive">views</ng-container> | ||
60 | <ng-container *ngIf="video.isLive">viewers</ng-container> | ||
61 | </span> | ||
62 | </div> | 58 | </div> |
63 | </div> | 59 | </div> |
64 | 60 | ||