From: Chocobozzz Date: Tue, 21 Jan 2020 09:47:56 +0000 (+0100) Subject: Fix admin config form for auto follow X-Git-Tag: v2.1.0-rc.1~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ee6a8b13edb0dd6186139f3a6589b06139f464b;p=oweals%2Fpeertube.git Fix admin config form for auto follow --- diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index f61593677..e5340234b 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -30,7 +30,7 @@
{{ formErrors.instance.description }}
@@ -101,7 +101,7 @@
{{ formErrors.instance.terms }}
@@ -110,7 +110,7 @@
{{ formErrors.instance.codeOfConduct }}
@@ -121,7 +121,7 @@
Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc
{{ formErrors.instance.moderationInformation }}
@@ -134,7 +134,7 @@
A single person? A non-profit? A company?
@@ -181,7 +181,7 @@
2vCore 2GB RAM/or directly the link to the server you rent etc
@@ -239,7 +239,7 @@ inputName="signupRequiresEmailVerification" formControlName="requiresEmailVerification" i18n-labelText labelText="Signup requires email verification" > - +
⚠️ This functionality requires a lot of attention and extra moderation. -
+
+ [id]="name" [name]="name"> diff --git a/client/src/app/shared/forms/markdown-textarea.component.ts b/client/src/app/shared/forms/markdown-textarea.component.ts index 0c5788899..19cd37573 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.ts +++ b/client/src/app/shared/forms/markdown-textarea.component.ts @@ -28,6 +28,7 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit { @Input() truncate: number @Input() markdownType: 'text' | 'enhanced' = 'text' @Input() markdownVideo = false + @Input() name = 'description' textareaMarginRight = '0' flexDirection = 'column'