<div *ngIf="formErrors.instance.terms" class="form-error">{{ formErrors.instance.terms }}</div>
</div>
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="instanceIsNSFW" formControlName="isNSFW"
+ i18n-labelText labelText="Dedicated to sensitive or NSFW content"
+ i18n-helpHtml helpHtml="Enabling it will allow other administrators to know that you are mainly federating sensitive content.<br /><br />
+ Moreover, the NSFW checkbox on video upload will be automatically checked by default."
+ ></my-peertube-checkbox>
+ </div>
+
<div class="form-group">
<label i18n for="instanceDefaultClientRoute">Default client route</label>
<div class="peertube-select-container">
</div>
</ng-container>
+
<div i18n class="inner-form-title">Signup</div>
<ng-container formGroupName="signup">
</div>
</ng-container>
+
<div i18n class="inner-form-title">Users</div>
<ng-container formGroupName="user">
</div>
</ng-container>
+
<div i18n class="inner-form-title">Import</div>
<ng-container formGroupName="import">
</ng-container>
</ng-container>
+
+ <div i18n class="inner-form-title">Auto-blacklist</div>
+
+ <ng-container formGroupName="autoBlacklist">
+ <ng-container formGroupName="videos">
+ <ng-container formGroupName="ofUsers">
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="autoBlacklistVideosOfUsersEnabled" formControlName="enabled"
+ i18n-labelText labelText="New videos of users automatically blacklisted enabled"
+ ></my-peertube-checkbox>
+ </div>
+
+ </ng-container>
+ </ng-container>
+ </ng-container>
+
+
+ <div i18n class="inner-form-title">Instance followers</div>
+
+ <ng-container formGroupName="followers">
+ <ng-container formGroupName="instance">
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="followersInstanceEnabled" formControlName="enabled"
+ i18n-labelText labelText="Other instances can follow your instance"
+ ></my-peertube-checkbox>
+ </div>
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="followersInstanceManualApproval" formControlName="manualApproval"
+ i18n-labelText labelText="Manually approve new instance follower"
+ ></my-peertube-checkbox>
+ </div>
+ </ng-container>
+ </ng-container>
+
+
<div i18n class="inner-form-title">Administrator</div>
<div class="form-group" formGroupName="admin">
helpType="custom"
i18n-customHtml
customHtml="
- Write directly CSS code. Example:<br />
+ Write directly CSS code. Example:<br /><br />
<pre>
- body {{ '{' }}
- background-color: red;
- {{ '}' }}
+ #custom-css {{ '{' }}
+ color: red;
+ {{ '}' }}
</pre>
- Prepend with <em>#custom-css</em> to override styles. Example:
+ Prepend with <em>#custom-css</em> to override styles. Example:<br /><br />
<pre>
- #custom-css .logged-in-email {{ '{' }}
- color: red;
- {{ '}' }}
+ #custom-css .logged-in-email {{ '{' }}
+ color: red;
+ {{ '}' }}
</pre>
"
></my-help>