diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.html | 14 |
1 files changed, 8 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 a84bafa2a..09be2d085 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html | |||
@@ -52,13 +52,17 @@ | |||
52 | <div class="video-info"> | 52 | <div class="video-info"> |
53 | <div class="video-info-first-row"> | 53 | <div class="video-info-first-row"> |
54 | <div> | 54 | <div> |
55 | <ng-template #publishedTemplate> | ||
56 | <ng-container i18n>Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle></ng-container> | ||
57 | • | ||
58 | <my-video-views-counter [video]="video"></my-video-views-counter> | ||
59 | </ng-template> | ||
60 | |||
55 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its counterpart for larger viewports below --> | 61 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its counterpart for larger viewports below --> |
56 | <h1 class="video-info-name">{{ video.name }}</h1> | 62 | <h1 class="video-info-name">{{ video.name }}</h1> |
57 | 63 | ||
58 | <div class="video-info-date-views"> | 64 | <div class="video-info-date-views"> |
59 | <ng-container i18n>Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle></ng-container> | 65 | <ng-template *ngTemplateOutlet="publishedTemplate"></ng-template> |
60 | • | ||
61 | <my-video-views-counter [video]="video"></my-video-views-counter> | ||
62 | </div> | 66 | </div> |
63 | </div> | 67 | </div> |
64 | 68 | ||
@@ -69,9 +73,7 @@ | |||
69 | 73 | ||
70 | <div class="video-info-first-row-bottom"> | 74 | <div class="video-info-first-row-bottom"> |
71 | <div class="d-none d-md-block video-info-date-views"> | 75 | <div class="d-none d-md-block video-info-date-views"> |
72 | <ng-container i18n>Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle></ng-container> | 76 | <ng-template *ngTemplateOutlet="publishedTemplate"></ng-template> |
73 | • | ||
74 | <my-video-views-counter [video]="video"></my-video-views-counter> | ||
75 | </div> | 77 | </div> |
76 | 78 | ||
77 | <my-action-buttons | 79 | <my-action-buttons |