diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-29 13:59:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-29 13:59:40 +0100 |
commit | c910f667d29bf2ff1f1c954c6d8b5044cb54a1a6 (patch) | |
tree | 04729ed1333ae1504a590aaea756d965eb304c7b /client/src/app/videos/+video-watch/video-watch.component.html | |
parent | 837666fe48f9ed786db75c96e2025cbcf20a1e3b (diff) | |
download | PeerTube-c910f667d29bf2ff1f1c954c6d8b5044cb54a1a6.tar.gz PeerTube-c910f667d29bf2ff1f1c954c6d8b5044cb54a1a6.tar.zst PeerTube-c910f667d29bf2ff1f1c954c6d8b5044cb54a1a6.zip |
Add origin instance URL in watch page
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 | 5 |
1 files changed, 5 insertions, 0 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 bc3a3ffdd..a382777f5 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -188,6 +188,11 @@ | |||
188 | <span class="video-attribute-value">{{ video.privacy.label }}</span> | 188 | <span class="video-attribute-value">{{ video.privacy.label }}</span> |
189 | </div> | 189 | </div> |
190 | 190 | ||
191 | <div *ngIf="video.isLocal === false" class="video-attribute"> | ||
192 | <span i18n class="video-attribute-label">Origin instance</span> | ||
193 | <a class="video-attribute-value" target="_blank" rel="noopener noreferrer" [href]="video.originInstanceUrl">{{ video.originInstanceHost }}</a> | ||
194 | </div> | ||
195 | |||
191 | <div *ngIf="!!video.originallyPublishedAt" class="video-attribute"> | 196 | <div *ngIf="!!video.originallyPublishedAt" class="video-attribute"> |
192 | <span i18n class="video-attribute-label">Originally published</span> | 197 | <span i18n class="video-attribute-label">Originally published</span> |
193 | <span class="video-attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span> | 198 | <span class="video-attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span> |