aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-miniature.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-08 22:13:47 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-01-10 10:12:09 +0100
commit9270ccf6dca5b2955ad126947d4296deb385fdcb (patch)
tree120807348c51437aaa35e52bed9122cdfc08437f /client/src/app/shared/video/video-miniature.component.html
parentb061c8edb053d4a7a02f09d93d406f6a8c58006e (diff)
downloadPeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.tar.gz
PeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.tar.zst
PeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.zip
Make subscribe buttons observe subscription statuses to synchronise
Diffstat (limited to 'client/src/app/shared/video/video-miniature.component.html')
-rw-r--r--client/src/app/shared/video/video-miniature.component.html6
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