diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/video-edit.component.html')
-rw-r--r-- | client/src/app/+videos/+video-edit/shared/video-edit.component.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index aa88d6c4c..f65cd8883 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html | |||
@@ -146,6 +146,13 @@ | |||
146 | </ng-template> | 146 | </ng-template> |
147 | </my-peertube-checkbox> | 147 | </my-peertube-checkbox> |
148 | 148 | ||
149 | <ng-container ngbNavItem *ngIf="getPluginsFields('main').length !== 0"> | ||
150 | |||
151 | <div *ngFor="let pluginSetting of getPluginsFields('main')" class="form-group" [hidden]="isPluginFieldHidden(pluginSetting)"> | ||
152 | <my-dynamic-form-field [form]="pluginDataFormGroup" [formErrors]="formErrors['pluginData']" [setting]="pluginSetting.commonOptions"></my-dynamic-form-field> | ||
153 | </div> | ||
154 | |||
155 | </ng-container> | ||
149 | </div> | 156 | </div> |
150 | </div> | 157 | </div> |
151 | </ng-template> | 158 | </ng-template> |
@@ -339,15 +346,15 @@ | |||
339 | </ng-template> | 346 | </ng-template> |
340 | </ng-container> | 347 | </ng-container> |
341 | 348 | ||
342 | <ng-container ngbNavItem *ngIf="pluginFields.length !== 0"> | 349 | <ng-container ngbNavItem *ngIf="getPluginsFields('plugin-settings').length !== 0"> |
343 | <a ngbNavLink i18n>Plugin settings</a> | 350 | <a ngbNavLink i18n>Plugin settings</a> |
344 | 351 | ||
345 | <ng-template ngbNavContent> | 352 | <ng-template ngbNavContent> |
346 | <div class="row plugin-settings"> | 353 | <div class="row plugin-settings"> |
347 | 354 | ||
348 | <div class="col-md-12 col-xl-8"> | 355 | <div class="col-md-12 col-xl-8"> |
349 | <div *ngFor="let pluginSetting of pluginFields" class="form-group" [hidden]="isPluginFieldHidden(pluginSetting)"> | 356 | <div *ngFor="let pluginSetting of getPluginsFields('plugin-settings')" class="form-group" [hidden]="isPluginFieldHidden(pluginSetting)"> |
350 | <my-dynamic-form-field [form]="pluginDataFormGroup" [formErrors]="formErrors" [setting]="pluginSetting.commonOptions"></my-dynamic-form-field> | 357 | <my-dynamic-form-field [form]="pluginDataFormGroup" [formErrors]="formErrors['pluginData']" [setting]="pluginSetting.commonOptions"></my-dynamic-form-field> |
351 | </div> | 358 | </div> |
352 | </div> | 359 | </div> |
353 | 360 | ||