From 60a424059d35e9f9d008a84b06b39d86161f3b6f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Jul 2024 16:13:45 +0200 Subject: [PATCH] Fix login "terms" link --- client/src/app/+login/login.component.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index e8ad6dca4..70a9bad14 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html @@ -20,15 +20,17 @@ Logging into an account lets you publish content -

- This instance allows registration. However, be careful to check the TermsTerms before creating an account. - You may also search for another instance to match your exact needs at: https://joinpeertube.org/instances. -

- -

- Currently this instance doesn't allow for user registration, you may check the Terms for more details or find an instance that gives you the possibility to sign up for an account and upload your videos there. - Find yours among multiple instances at: https://joinpeertube.org/instances. -

+ @if (signupAllowed) { +

+ This instance allows registration. However, be careful to check the TermsTerms before creating an account. + You may also search for another instance to match your exact needs at: https://joinpeertube.org/instances. +

+ } @else { +

+ Currently this instance doesn't allow for user registration, you may check the TermsTerms for more details or find an instance that gives you the possibility to sign up for an account and upload your videos there. + Find yours among multiple instances at: https://joinpeertube.org/instances. +

+ }