]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
Add delete/manual approval instance followers in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / config / edit-custom-config / edit-custom-config.component.html
index b7d95bc22cf8e5fcde1541b85acd09b8f183efd7..637484622ca64dcf9bcd3f7a6199f57f23eb5cfa 100644 (file)
@@ -84,6 +84,7 @@
           </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>