]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
Merge branch 'master' into release/3.3.0
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / shared / metadata / video-attributes.component.html
1 <div class="video-attribute">
2 <span i18n class="video-attribute-label">Privacy</span>
3 <span class="video-attribute-value">{{ video.privacy.label }}</span>
4 </div>
5
6 <div *ngIf="video.isLocal === false" class="video-attribute">
7 <span i18n class="video-attribute-label">Origin</span>
8 <a class="video-attribute-value" target="_blank" rel="noopener noreferrer" [href]="getVideoUrl()">{{ video.originInstanceHost }}</a>
9 </div>
10
11 <div *ngIf="!!video.originallyPublishedAt" class="video-attribute">
12 <span i18n class="video-attribute-label">Originally published</span>
13 <span class="video-attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span>
14 </div>
15
16 <div class="video-attribute">
17 <span i18n class="video-attribute-label">Category</span>
18 <span *ngIf="!video.category.id" class="video-attribute-value">{{ video.category.label }}</span>
19 <a
20 *ngIf="video.category.id" class="video-attribute-value"
21 [routerLink]="[ '/search' ]" [queryParams]="{ categoryOneOf: [ video.category.id ] }"
22 >{{ video.category.label }}</a>
23 </div>
24
25 <div class="video-attribute">
26 <span i18n class="video-attribute-label">Licence</span>
27 <span *ngIf="!video.licence.id" class="video-attribute-value">{{ video.licence.label }}</span>
28 <a
29 *ngIf="video.licence.id" class="video-attribute-value"
30 [routerLink]="[ '/search' ]" [queryParams]="{ licenceOneOf: [ video.licence.id ] }"
31 >{{ video.licence.label }}</a>
32 </div>
33
34 <div class="video-attribute">
35 <span i18n class="video-attribute-label">Language</span>
36 <span *ngIf="!video.language.id" class="video-attribute-value">{{ video.language.label }}</span>
37 <a
38 *ngIf="video.language.id" class="video-attribute-value"
39 [routerLink]="[ '/search' ]" [queryParams]="{ languageOneOf: [ video.language.id ] }"
40 >{{ video.language.label }}</a>
41 </div>
42
43 <div class="video-attribute video-attribute-tags">
44 <span i18n class="video-attribute-label">Tags</span>
45 <a
46 *ngFor="let tag of getVideoTags()"
47 class="video-attribute-value" [routerLink]="[ '/search' ]" [queryParams]="{ tagsOneOf: [ tag ] }"
48 >{{ tag }}</a>
49 </div>
50
51 <div class="video-attribute" *ngIf="!video.isLive">
52 <span i18n class="video-attribute-label">Duration</span>
53 <span class="video-attribute-value">{{ video.duration | myDurationFormatter }}</span>
54 </div>