diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-07 10:27:33 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-07 10:28:20 +0100 |
commit | 0727cab0dfd3d53e5e9c88bfbda6bc0e090d4f12 (patch) | |
tree | af4dff1224b4cafa7771ab85acdcdc32ca717e87 /client/src/app/shared | |
parent | 7b272fd73f1ea67e83c1924f2cc33503b8759811 (diff) | |
download | PeerTube-0727cab0dfd3d53e5e9c88bfbda6bc0e090d4f12.tar.gz PeerTube-0727cab0dfd3d53e5e9c88bfbda6bc0e090d4f12.tar.zst PeerTube-0727cab0dfd3d53e5e9c88bfbda6bc0e090d4f12.zip |
Design video watch modals
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video-abuse.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/forms/form-validators/video-abuse.ts b/client/src/app/shared/forms/form-validators/video-abuse.ts index 3c7f26205..4b2a2b789 100644 --- a/client/src/app/shared/forms/form-validators/video-abuse.ts +++ b/client/src/app/shared/forms/form-validators/video-abuse.ts | |||
@@ -3,8 +3,8 @@ import { Validators } from '@angular/forms' | |||
3 | export const VIDEO_ABUSE_REASON = { | 3 | export const VIDEO_ABUSE_REASON = { |
4 | VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(300) ], | 4 | VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(300) ], |
5 | MESSAGES: { | 5 | MESSAGES: { |
6 | 'required': 'Report reason name is required.', | 6 | 'required': 'Report reason is required.', |
7 | 'minlength': 'Report reson must be at least 2 characters long.', | 7 | 'minlength': 'Report reason must be at least 2 characters long.', |
8 | 'maxlength': 'Report reson cannot be more than 300 characters long.' | 8 | 'maxlength': 'Report reason cannot be more than 300 characters long.' |
9 | } | 9 | } |
10 | } | 10 | } |