From 09c55770bcc96785fb1f199b4cd8ce66b545486a Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Thu, 3 Dec 2020 07:59:37 +0100 Subject: register: hide channel step if upload quota is 0 fix #782 --- client/src/app/+signup/+register/custom-stepper.component.html | 2 +- client/src/app/+signup/+register/register-step-user.component.html | 4 ++++ client/src/app/+signup/+register/register-step-user.component.ts | 1 + client/src/app/+signup/+register/register.component.html | 6 ++++-- client/src/app/+signup/+register/register.component.ts | 6 +++++- 5 files changed, 15 insertions(+), 4 deletions(-) (limited to 'client/src/app/+signup') diff --git a/client/src/app/+signup/+register/custom-stepper.component.html b/client/src/app/+signup/+register/custom-stepper.component.html index 57374d41e..4cfe54152 100644 --- a/client/src/app/+signup/+register/custom-stepper.component.html +++ b/client/src/app/+signup/+register/custom-stepper.component.html @@ -1,5 +1,5 @@
-
+
+
+ Video uploads are disabled on this instance, hence your account won't be able to upload videos. +
+
diff --git a/client/src/app/+signup/+register/register-step-user.component.ts b/client/src/app/+signup/+register/register-step-user.component.ts index 65536568b..9193540b4 100644 --- a/client/src/app/+signup/+register/register-step-user.component.ts +++ b/client/src/app/+signup/+register/register-step-user.component.ts @@ -19,6 +19,7 @@ import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' }) export class RegisterStepUserComponent extends FormReactive implements OnInit { @Input() hasCodeOfConduct = false + @Input() videoUploadDisabled = false @Output() formBuilt = new EventEmitter() @Output() termsClick = new EventEmitter() diff --git a/client/src/app/+signup/+register/register.component.html b/client/src/app/+signup/+register/register.component.html index fa9838ba6..7e3704124 100644 --- a/client/src/app/+signup/+register/register.component.html +++ b/client/src/app/+signup/+register/register.component.html @@ -13,14 +13,16 @@ - + - +