})
}
+ buildNSFWLabel () {
+ const policy = this.serverService.getConfig().instance.defaultNSFWPolicy
+
+ if (policy === 'do_not_list') return this.i18n('Hidden')
+ if (policy === 'blur') return this.i18n('Blurred with confirmation request')
+ if (policy === 'display') return this.i18n('Displayed')
+ }
+
private buildFeatures () {
const config = this.serverService.getConfig()
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
}
]
}
this.quotaHelpIndication = lines.join('<br />')
}
-
}