From d6e32a2e91c090ed342eaf0709caac2630a67ff3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Oct 2017 08:51:40 +0200 Subject: Replace NSFW with "mature or explicit content" Blur their thumbnail and name --- client/src/app/videos/+video-watch/video-watch.component.html | 2 +- client/src/app/videos/+video-watch/video-watch.component.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'client/src/app/videos/+video-watch') 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 6e502aae2..4b594e7ed 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -29,7 +29,7 @@
Number of peers: {{ numPeers }}
- +
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 { let observable if (this.video.isVideoNSFWForUser(this.authService.getUser())) { - observable = this.confirmService.confirm('This video is not safe for work. Are you sure you want to watch it?', 'NSFW') + observable = this.confirmService.confirm( + 'This video contains mature or explicit content. Are you sure you want to watch it?', + 'Mature or explicit content' + ) } else { observable = Observable.of(true) } -- cgit v1.2.3