import { Component, OnInit } from '@angular/core'
import { ServerService } from '@app/core'
import { I18n } from '@ngx-translate/i18n-polyfill'
-import { ServerConfig } from '../../../../../shared'
@Component({
selector: 'my-instance-features-table',
label: this.i18n('User registration allowed'),
value: config.signup.allowed
},
+ {
+ label: this.i18n('Video uploads require manual validation by moderators'),
+ value: config.autoBlacklist.videos.ofUsers.enabled
+ },
{
label: this.i18n('Transcode your videos in multiple resolutions'),
value: config.transcoding.enabledResolutions.length !== 0
{
label: this.i18n('Torrent import'),
value: config.import.videos.torrent.enabled
+ },
+ {
+ label: this.i18n('P2P enabled'),
+ value: config.tracker.enabled
}
]
}