aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html25
1 files changed, 16 insertions, 9 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 5f02d00e8..796aa12ed 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
@@ -897,7 +897,7 @@
897 {{ item }} 897 {{ item }}
898 <ng-container *ngIf="item === 'default'"> 898 <ng-container *ngIf="item === 'default'">
899 <br> 899 <br>
900 <span class="text-muted">x264, targeting maximum device compatibility</span> 900 <span class="text-muted" i18n>x264, targeting maximum device compatibility</span>
901 </ng-container> 901 </ng-container>
902 </ng-template> 902 </ng-template>
903 </ng-select> 903 </ng-select>
@@ -1046,15 +1046,22 @@
1046 1046
1047 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }"> 1047 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }">
1048 <label i18n for="liveTranscodingProfile">Live transcoding profile</label> 1048 <label i18n for="liveTranscodingProfile">Live transcoding profile</label>
1049 <span class="text-muted ml-1" i18n>New live transcoding profiles can be added by PeerTube plugins</span> 1049 <span class="text-muted ml-1" i18n>new live transcoding profiles can be added by PeerTube plugins</span>
1050 1050
1051 <div class="peertube-select-container"> 1051 <ng-select
1052 <select id="liveTranscodingProfile" formControlName="profile" class="form-control"> 1052 id="liveTranscodingProfile"
1053 <option *ngFor="let liveTranscodingProfileOption of getAvailableTranscodingProfile('live')" [value]="liveTranscodingProfileOption"> 1053 formControlName="profile"
1054 {{ liveTranscodingProfileOption }} 1054 [items]="getAvailableTranscodingProfile('live')"
1055 </option> 1055 [clearable]="false"
1056 </select> 1056 >
1057 </div> 1057 <ng-template ng-option-tmp let-item="item" let-index="index">
1058 {{ item }}
1059 <ng-container *ngIf="item === 'default'">
1060 <br>
1061 <span class="text-muted" i18n>x264, targeting maximum device compatibility</span>
1062 </ng-container>
1063 </ng-template>
1064 </ng-select>
1058 <div *ngIf="formErrors.live.transcoding.profile" class="form-error">{{ formErrors.live.transcoding.profile }}</div> 1065 <div *ngIf="formErrors.live.transcoding.profile" class="form-error">{{ formErrors.live.transcoding.profile }}</div>
1059 </div> 1066 </div>
1060 1067