diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-21 11:00:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-21 11:00:53 +0200 |
commit | fe228901ce3d1af01c674aaf474cb6563ad9bc12 (patch) | |
tree | 304d7b2add51788e2b866faccc8d9d3ea0b3b6f5 | |
parent | a2c3564a31268e4e60f05952aa3731e114ac1e30 (diff) | |
download | PeerTube-fe228901ce3d1af01c674aaf474cb6563ad9bc12.tar.gz PeerTube-fe228901ce3d1af01c674aaf474cb6563ad9bc12.tar.zst PeerTube-fe228901ce3d1af01c674aaf474cb6563ad9bc12.zip |
Hide live transcoding features if disabled
-rw-r--r-- | client/src/app/shared/shared-instance/instance-features-table.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.html b/client/src/app/shared/shared-instance/instance-features-table.component.html index 3fc5920b5..83440e87c 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.html +++ b/client/src/app/shared/shared-instance/instance-features-table.component.html | |||
@@ -74,14 +74,14 @@ | |||
74 | </td> | 74 | </td> |
75 | </tr> | 75 | </tr> |
76 | 76 | ||
77 | <tr> | 77 | <tr *ngIf="serverConfig.live.enabled"> |
78 | <th i18n class="sub-label" scope="row">Transcode live video in multiple resolutions</th> | 78 | <th i18n class="sub-label" scope="row">Transcode live video in multiple resolutions</th> |
79 | <td> | 79 | <td> |
80 | <my-feature-boolean [value]="serverConfig.live.transcoding.enabled && serverConfig.live.transcoding.enabledResolutions.length > 1"></my-feature-boolean> | 80 | <my-feature-boolean [value]="serverConfig.live.transcoding.enabled && serverConfig.live.transcoding.enabledResolutions.length > 1"></my-feature-boolean> |
81 | </td> | 81 | </td> |
82 | </tr> | 82 | </tr> |
83 | 83 | ||
84 | <tr> | 84 | <tr *ngIf="serverConfig.live.enabled"> |
85 | <th i18n class="sub-label" scope="row">Max parallel lives</th> | 85 | <th i18n class="sub-label" scope="row">Max parallel lives</th> |
86 | <td i18n> | 86 | <td i18n> |
87 | {{ maxUserLives }} per user / {{ maxInstanceLives }} per instance | 87 | {{ maxUserLives }} per user / {{ maxInstanceLives }} per instance |