aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video
diff options
context:
space:
mode:
authorJulien Maulny <julien.maulny@protonmail.com>2019-10-05 18:10:49 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-10-23 10:47:34 +0200
commite8050208969ee8af554c0aad276bea41dcf304ef (patch)
treea82203fde250afb4318921584a59d17ee129571a /client/src/app/shared/video
parent18c9772876d0e36a4f404d914140f3d24d6037e1 (diff)
downloadPeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.tar.gz
PeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.tar.zst
PeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.zip
Allow to toggle video publication date to display absolute date
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r--client/src/app/shared/video/video-miniature.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html
index 5d5691b75..abd193bb1 100644
--- a/client/src/app/shared/video/video-miniature.component.html
+++ b/client/src/app/shared/video/video-miniature.component.html
@@ -17,7 +17,7 @@
17 </a> 17 </a>
18 18
19 <span class="video-miniature-created-at-views"> 19 <span class="video-miniature-created-at-views">
20 <ng-container *ngIf="displayOptions.date">{{ video.publishedAt | myFromNow }}</ng-container> 20 <my-date-toggle *ngIf="displayOptions.date" [date]="video.publishedAt"></my-date-toggle>
21 <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container> 21 <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container>
22 <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container> 22 <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container>
23 </span> 23 </span>