diff options
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.html | 7 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 4 |
2 files changed, 7 insertions, 4 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 ]"> |
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 68f284be3..ac474b427 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -42,7 +42,7 @@ | |||
42 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its conterpart for larger viewports below --> | 42 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its conterpart for larger viewports below --> |
43 | <h1 class="video-info-name">{{ video.name }}</h1> | 43 | <h1 class="video-info-name">{{ video.name }}</h1> |
44 | <div i18n class="video-info-date-views"> | 44 | <div i18n class="video-info-date-views"> |
45 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> - {{ video.views | myNumberFormatter }} views | 45 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> - {{ video.views | myNumberFormatter }} views</span> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | 48 | ||
@@ -51,7 +51,7 @@ | |||
51 | <h1 class="video-info-name">{{ video.name }}</h1> | 51 | <h1 class="video-info-name">{{ video.name }}</h1> |
52 | 52 | ||
53 | <div i18n class="video-info-date-views"> | 53 | <div i18n class="video-info-date-views"> |
54 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> - {{ video.views | myNumberFormatter }} views | 54 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> - {{ video.views | myNumberFormatter }} views</span> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | 57 | ||