diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.html | 57 |
1 files changed, 1 insertions, 56 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 a0508731f..0d6103b3b 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html | |||
@@ -88,62 +88,7 @@ | |||
88 | 88 | ||
89 | <my-video-description [video]="video"></my-video-description> | 89 | <my-video-description [video]="video"></my-video-description> |
90 | 90 | ||
91 | <div class="video-attributes mb-3"> | 91 | <my-video-attributes [video]="video"></my-video-attributes> |
92 | <div class="video-attribute"> | ||
93 | <span i18n class="video-attribute-label">Privacy</span> | ||
94 | <span class="video-attribute-value">{{ video.privacy.label }}</span> | ||
95 | </div> | ||
96 | |||
97 | <div *ngIf="video.isLocal === false" class="video-attribute"> | ||
98 | <span i18n class="video-attribute-label">Origin</span> | ||
99 | <a class="video-attribute-value" target="_blank" rel="noopener noreferrer" [href]="getVideoUrl()">{{ video.originInstanceHost }}</a> | ||
100 | </div> | ||
101 | |||
102 | <div *ngIf="!!video.originallyPublishedAt" class="video-attribute"> | ||
103 | <span i18n class="video-attribute-label">Originally published</span> | ||
104 | <span class="video-attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span> | ||
105 | </div> | ||
106 | |||
107 | <div class="video-attribute"> | ||
108 | <span i18n class="video-attribute-label">Category</span> | ||
109 | <span *ngIf="!video.category.id" class="video-attribute-value">{{ video.category.label }}</span> | ||
110 | <a | ||
111 | *ngIf="video.category.id" class="video-attribute-value" | ||
112 | [routerLink]="[ '/search' ]" [queryParams]="{ categoryOneOf: [ video.category.id ] }" | ||
113 | >{{ video.category.label }}</a> | ||
114 | </div> | ||
115 | |||
116 | <div class="video-attribute"> | ||
117 | <span i18n class="video-attribute-label">Licence</span> | ||
118 | <span *ngIf="!video.licence.id" class="video-attribute-value">{{ video.licence.label }}</span> | ||
119 | <a | ||
120 | *ngIf="video.licence.id" class="video-attribute-value" | ||
121 | [routerLink]="[ '/search' ]" [queryParams]="{ licenceOneOf: [ video.licence.id ] }" | ||
122 | >{{ video.licence.label }}</a> | ||
123 | </div> | ||
124 | |||
125 | <div class="video-attribute"> | ||
126 | <span i18n class="video-attribute-label">Language</span> | ||
127 | <span *ngIf="!video.language.id" class="video-attribute-value">{{ video.language.label }}</span> | ||
128 | <a | ||
129 | *ngIf="video.language.id" class="video-attribute-value" | ||
130 | [routerLink]="[ '/search' ]" [queryParams]="{ languageOneOf: [ video.language.id ] }" | ||
131 | >{{ video.language.label }}</a> | ||
132 | </div> | ||
133 | |||
134 | <div class="video-attribute video-attribute-tags"> | ||
135 | <span i18n class="video-attribute-label">Tags</span> | ||
136 | <a | ||
137 | *ngFor="let tag of getVideoTags()" | ||
138 | class="video-attribute-value" [routerLink]="[ '/search' ]" [queryParams]="{ tagsOneOf: [ tag ] }" | ||
139 | >{{ tag }}</a> | ||
140 | </div> | ||
141 | |||
142 | <div class="video-attribute" *ngIf="!video.isLive"> | ||
143 | <span i18n class="video-attribute-label">Duration</span> | ||
144 | <span class="video-attribute-value">{{ video.duration | myDurationFormatter }}</span> | ||
145 | </div> | ||
146 | </div> | ||
147 | 92 | ||
148 | <my-video-comments | 93 | <my-video-comments |
149 | class="border-top" | 94 | class="border-top" |