From c0e04e46417c7819f024e45896240d4b7331be86 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Feb 2019 15:00:26 +0100 Subject: Move user registration info in features table --- .../instance/instance-features-table.component.html | 18 +++++++++--------- .../instance/instance-features-table.component.ts | 5 ++++- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/instance/instance-features-table.component.html b/client/src/app/shared/instance/instance-features-table.component.html index dc8db8cc1..90046f409 100644 --- a/client/src/app/shared/instance/instance-features-table.component.html +++ b/client/src/app/shared/instance/instance-features-table.component.html @@ -1,6 +1,14 @@
+ + + + + @@ -16,13 +24,5 @@ - - - - -
{{ feature.label }} + + +
Video quota
{{ feature.label }} - - -
-
\ No newline at end of file + diff --git a/client/src/app/shared/instance/instance-features-table.component.ts b/client/src/app/shared/instance/instance-features-table.component.ts index da8da0702..aaf0a6960 100644 --- a/client/src/app/shared/instance/instance-features-table.component.ts +++ b/client/src/app/shared/instance/instance-features-table.component.ts @@ -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) { -- cgit v1.2.3