1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Move user registration info in features table

This commit is contained in:
Chocobozzz 2019-02-21 15:00:26 +01:00
parent 9b39106d57
commit c0e04e4641
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 13 additions and 38 deletions

View file

@ -37,6 +37,10 @@ export class InstanceFeaturesTableComponent implements OnInit {
const config = this.serverService.getConfig()
this.features = [
{
label: this.i18n('User registration allowed'),
value: config.signup.allowed
},
{
label: this.i18n('Transcode your videos in multiple resolutions'),
value: config.transcoding.enabledResolutions.length !== 0
@ -50,7 +54,6 @@ export class InstanceFeaturesTableComponent implements OnInit {
value: config.import.videos.torrent.enabled
}
]
}
private getApproximateTime (seconds: number) {