aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-15 11:00:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit608624252466acf9f1d9ee1c1170bd4fe4d18d18 (patch)
tree47eab55bb5421b7fe88e0b2ac743a436fd9561cf /client/src/app/videos
parent51548b31815c6f96f314ae96588a9adca150519d (diff)
downloadPeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.gz
PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.zst
PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.zip
Rename Pod -> Server
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html2
-rw-r--r--client/src/app/videos/shared/video-details.model.ts2
-rw-r--r--client/src/app/videos/shared/video.model.ts10
3 files changed, 7 insertions, 7 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 ee7bbec74..fd3ce2b84 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -2,7 +2,7 @@
2 <div class="alert alert-danger"> 2 <div class="alert alert-danger">
3 The video load seems to be abnormally long. 3 The video load seems to be abnormally long.
4 <ul> 4 <ul>
5 <li>Maybe the server {{ video.podHost }} is down :(</li> 5 <li>Maybe the server {{ video.serverHost }} is down :(</li>
6 <li> 6 <li>
7 If not, you can report an issue on 7 If not, you can report an issue on
8 <a href="https://github.com/Chocobozzz/PeerTube/issues" title="Report an issue"> 8 <a href="https://github.com/Chocobozzz/PeerTube/issues" title="Report an issue">
diff --git a/client/src/app/videos/shared/video-details.model.ts b/client/src/app/videos/shared/video-details.model.ts
index f4ae64dc1..64cb4f847 100644
--- a/client/src/app/videos/shared/video-details.model.ts
+++ b/client/src/app/videos/shared/video-details.model.ts
@@ -27,7 +27,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
27 uuid: string 27 uuid: string
28 isLocal: boolean 28 isLocal: boolean
29 name: string 29 name: string
30 podHost: string 30 serverHost: string
31 tags: string[] 31 tags: string[]
32 thumbnailPath: string 32 thumbnailPath: string
33 thumbnailUrl: string 33 thumbnailUrl: string
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts
index 2cad4a04e..0dd41d71b 100644
--- a/client/src/app/videos/shared/video.model.ts
+++ b/client/src/app/videos/shared/video.model.ts
@@ -19,7 +19,7 @@ export class Video implements VideoServerModel {
19 uuid: string 19 uuid: string
20 isLocal: boolean 20 isLocal: boolean
21 name: string 21 name: string
22 podHost: string 22 serverHost: string
23 tags: string[] 23 tags: string[]
24 thumbnailPath: string 24 thumbnailPath: string
25 thumbnailUrl: string 25 thumbnailUrl: string
@@ -32,8 +32,8 @@ export class Video implements VideoServerModel {
32 dislikes: number 32 dislikes: number
33 nsfw: boolean 33 nsfw: boolean
34 34
35 private static createByString (account: string, podHost: string) { 35 private static createByString (account: string, serverHost: string) {
36 return account + '@' + podHost 36 return account + '@' + serverHost
37 } 37 }
38 38
39 private static createDurationString (duration: number) { 39 private static createDurationString (duration: number) {
@@ -67,7 +67,7 @@ export class Video implements VideoServerModel {
67 this.uuid = hash.uuid 67 this.uuid = hash.uuid
68 this.isLocal = hash.isLocal 68 this.isLocal = hash.isLocal
69 this.name = hash.name 69 this.name = hash.name
70 this.podHost = hash.podHost 70 this.serverHost = hash.serverHost
71 this.tags = hash.tags 71 this.tags = hash.tags
72 this.thumbnailPath = hash.thumbnailPath 72 this.thumbnailPath = hash.thumbnailPath
73 this.thumbnailUrl = absoluteAPIUrl + hash.thumbnailPath 73 this.thumbnailUrl = absoluteAPIUrl + hash.thumbnailPath
@@ -80,7 +80,7 @@ export class Video implements VideoServerModel {
80 this.dislikes = hash.dislikes 80 this.dislikes = hash.dislikes
81 this.nsfw = hash.nsfw 81 this.nsfw = hash.nsfw
82 82
83 this.by = Video.createByString(hash.account, hash.podHost) 83 this.by = Video.createByString(hash.account, hash.serverHost)
84 } 84 }
85 85
86 isVideoNSFWForUser (user: User) { 86 isVideoNSFWForUser (user: User) {