]>
Commit | Line | Data |
---|---|---|
3cf68b86 | 1 | <div class="attribute attribute-privacy"> |
7e8f1960 C |
2 | <span i18n class="attribute-label">Privacy</span> |
3 | <span class="attribute-value">{{ video.privacy.label }}</span> | |
c894a1ea C |
4 | </div> |
5 | ||
3cf68b86 | 6 | <div *ngIf="video.isLocal === false" class="attribute attribute-origin"> |
7e8f1960 C |
7 | <span i18n class="attribute-label">Origin</span> |
8 | <a | |
9 | class="attribute-value" target="_blank" rel="noopener noreferrer" | |
10 | routerLink="/search" [queryParams]="{ host: getVideoHost() }" | |
11 | >{{ video.originInstanceHost }}</a> | |
12 | ||
13 | <a | |
c2faa073 | 14 | i18n-title title="Open the video on the origin instance" |
ab4001aa | 15 | target="_blank" rel="noopener noreferrer" [href]="video.url" |
c2faa073 C |
16 | > |
17 | <my-global-icon iconName="external-link"></my-global-icon> | |
18 | </a> | |
c894a1ea C |
19 | </div> |
20 | ||
3cf68b86 | 21 | <div *ngIf="!!video.originallyPublishedAt" class="attribute attribute-originally-published-at"> |
7e8f1960 C |
22 | <span i18n class="attribute-label">Originally published</span> |
23 | <span class="attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span> | |
c894a1ea C |
24 | </div> |
25 | ||
3cf68b86 | 26 | <div class="attribute attribute-category"> |
7e8f1960 C |
27 | <span i18n class="attribute-label">Category</span> |
28 | <span *ngIf="!video.category.id" class="attribute-value">{{ video.category.label }}</span> | |
c894a1ea | 29 | <a |
7e8f1960 | 30 | *ngIf="video.category.id" class="attribute-value" |
c894a1ea C |
31 | [routerLink]="[ '/search' ]" [queryParams]="{ categoryOneOf: [ video.category.id ] }" |
32 | >{{ video.category.label }}</a> | |
33 | </div> | |
34 | ||
3cf68b86 | 35 | <div class="attribute attribute-licence"> |
7e8f1960 C |
36 | <span i18n class="attribute-label">Licence</span> |
37 | <span *ngIf="!video.licence.id" class="attribute-value">{{ video.licence.label }}</span> | |
c894a1ea | 38 | <a |
7e8f1960 | 39 | *ngIf="video.licence.id" class="attribute-value" |
c894a1ea C |
40 | [routerLink]="[ '/search' ]" [queryParams]="{ licenceOneOf: [ video.licence.id ] }" |
41 | >{{ video.licence.label }}</a> | |
42 | </div> | |
43 | ||
3cf68b86 | 44 | <div class="attribute attribute-language"> |
7e8f1960 C |
45 | <span i18n class="attribute-label">Language</span> |
46 | <span *ngIf="!video.language.id" class="attribute-value">{{ video.language.label }}</span> | |
c894a1ea | 47 | <a |
7e8f1960 | 48 | *ngIf="video.language.id" class="attribute-value" |
c894a1ea C |
49 | [routerLink]="[ '/search' ]" [queryParams]="{ languageOneOf: [ video.language.id ] }" |
50 | >{{ video.language.label }}</a> | |
51 | </div> | |
52 | ||
7e8f1960 C |
53 | <div class="attribute attribute-tags"> |
54 | <span i18n class="attribute-label">Tags</span> | |
c894a1ea C |
55 | <a |
56 | *ngFor="let tag of getVideoTags()" | |
7e8f1960 | 57 | class="attribute-value" [routerLink]="[ '/search' ]" [queryParams]="{ tagsOneOf: [ tag ] }" |
c894a1ea C |
58 | >{{ tag }}</a> |
59 | </div> | |
60 | ||
3cf68b86 | 61 | <div class="attribute attribute-duration" *ngIf="!video.isLive"> |
7e8f1960 C |
62 | <span i18n class="attribute-label">Duration</span> |
63 | <span class="attribute-value">{{ video.duration | myDurationFormatter }}</span> | |
c894a1ea | 64 | </div> |