aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-25 11:09:13 +0200
committerChocobozzz <me@florianbigard.com>2019-10-25 11:12:15 +0200
commit9ea6541488ae06c21cae3b9026728c52e11991cb (patch)
tree0dc58b0713b41957b94c56bb4b4528dd5b920800 /client/src/app/shared/video
parenta2ffd046d61fb6424825f183af195ce1df2e156f (diff)
downloadPeerTube-9ea6541488ae06c21cae3b9026728c52e11991cb.tar.gz
PeerTube-9ea6541488ae06c21cae3b9026728c52e11991cb.tar.zst
PeerTube-9ea6541488ae06c21cae3b9026728c52e11991cb.zip
Add class to views elements
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r--client/src/app/shared/video/video-miniature.component.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html
index abd193bb1..c4b713073 100644
--- a/client/src/app/shared/video/video-miniature.component.html
+++ b/client/src/app/shared/video/video-miniature.component.html
@@ -18,8 +18,11 @@
18 18
19 <span class="video-miniature-created-at-views"> 19 <span class="video-miniature-created-at-views">
20 <my-date-toggle *ngIf="displayOptions.date" [date]="video.publishedAt"></my-date-toggle> 20 <my-date-toggle *ngIf="displayOptions.date" [date]="video.publishedAt"></my-date-toggle>
21 <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container> 21
22 <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container> 22 <span class="views">
23 <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container>
24 <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container>
25 </span>
23 </span> 26 </span>
24 27
25 <a tabindex="-1" *ngIf="displayOptions.by && displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]"> 28 <a tabindex="-1" *ngIf="displayOptions.by && displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">