aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-27 08:51:40 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-27 08:51:40 +0200
commitd6e32a2e91c090ed342eaf0709caac2630a67ff3 (patch)
treea461a7cedeb87a992f2a6f476fff78e346f00b5d /client/src/app/videos/+video-watch/video-watch.component.ts
parentc2962505115563ad1510e8116f3b362887cac71f (diff)
downloadPeerTube-d6e32a2e91c090ed342eaf0709caac2630a67ff3.tar.gz
PeerTube-d6e32a2e91c090ed342eaf0709caac2630a67ff3.tar.zst
PeerTube-d6e32a2e91c090ed342eaf0709caac2630a67ff3.zip
Replace NSFW with "mature or explicit content"
Blur their thumbnail and name
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 2e1adb043..199666bdc 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -218,7 +218,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
218 218
219 let observable 219 let observable
220 if (this.video.isVideoNSFWForUser(this.authService.getUser())) { 220 if (this.video.isVideoNSFWForUser(this.authService.getUser())) {
221 observable = this.confirmService.confirm('This video is not safe for work. Are you sure you want to watch it?', 'NSFW') 221 observable = this.confirmService.confirm(
222 'This video contains mature or explicit content. Are you sure you want to watch it?',
223 'Mature or explicit content'
224 )
222 } else { 225 } else {
223 observable = Observable.of(true) 226 observable = Observable.of(true)
224 } 227 }