diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | 35 |
1 files changed, 35 insertions, 0 deletions
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 fe9d856d0..ec6f879d7 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 | |||
@@ -221,6 +221,41 @@ | |||
221 | </ng-container> | 221 | </ng-container> |
222 | </ng-container> | 222 | </ng-container> |
223 | 223 | ||
224 | <div i18n class="inner-form-title">Instance followings</div> | ||
225 | |||
226 | <ng-container formGroupName="followings"> | ||
227 | <ng-container formGroupName="instance"> | ||
228 | |||
229 | <ng-container formGroupName="autoFollowBack"> | ||
230 | <div class="form-group"> | ||
231 | <my-peertube-checkbox | ||
232 | inputName="followingsInstanceAutoFollowBackEnabled" formControlName="enabled" | ||
233 | i18n-labelText labelText="Automatically follow other instances that follow you" | ||
234 | ></my-peertube-checkbox> | ||
235 | </div> | ||
236 | </ng-container> | ||
237 | |||
238 | <ng-container formGroupName="autoFollowIndex"> | ||
239 | <div class="form-group"> | ||
240 | <my-peertube-checkbox | ||
241 | inputName="followingsInstanceAutoFollowIndexEnabled" formControlName="enabled" | ||
242 | i18n-labelText labelText="Automatically follow instance of the public index (below)" | ||
243 | ></my-peertube-checkbox> | ||
244 | </div> | ||
245 | |||
246 | <div class="form-group"> | ||
247 | <label i18n for="followingsInstanceAutoFollowIndexUrl">Index URL</label> | ||
248 | <input | ||
249 | type="text" id="followingsInstanceAutoFollowIndexUrl" | ||
250 | formControlName="indexUrl" [ngClass]="{ 'input-error': formErrors['followings.instance.autoFollowIndex.indexUrl'] }" | ||
251 | > | ||
252 | <div *ngIf="formErrors.followings.instance.autoFollowIndex.indexUrl" class="form-error">{{ formErrors.followings.instance.autoFollowIndex.indexUrl }}</div> | ||
253 | </div> | ||
254 | |||
255 | </ng-container> | ||
256 | </ng-container> | ||
257 | </ng-container> | ||
258 | |||
224 | 259 | ||
225 | <div i18n class="inner-form-title">Administrator</div> | 260 | <div i18n class="inner-form-title">Administrator</div> |
226 | 261 | ||