Enable video watch

pull/1285/head
clementbrizard 2019-01-12 13:45:39 +00:00
parent 1e74f19a21
commit adb115f552
2 changed files with 9 additions and 2 deletions

View File

@ -33,7 +33,6 @@
<div>
<div class="d-block d-sm-none"> <!-- only shown on small devices, has its conterpart for larger viewports below -->
<h1 class="video-info-name">{{ video.name }}</h1>
<div i18n class="video-info-date-views">
Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
</div>
@ -160,6 +159,14 @@
<span class="video-attribute-value">{{ video.privacy.label }}</span>
</div>
<div class="video-attribute">
<span i18n class="video-attribute-label">Originally published on</span>
<span *ngIf="!video.originallyPublishedAt" class="video-attribute-value">Unknown</span>
<span *ngIf="video.originallyPublishedAt" class="video-attribute-value">
{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}
</span>
</div>
<div class="video-attribute">
<span i18n class="video-attribute-label">Category</span>
<span *ngIf="!video.category.id" class="video-attribute-value">{{ video.category.label }}</span>

View File

@ -336,7 +336,7 @@ $other-videos-width: 260px;
margin-bottom: 12px;
.video-attribute-label {
min-width: 91px;
min-width: 142px;
padding-right: 5px;
display: inline-block;
color: #585858;