From 61318dd63fc652383cbe043851ade195f061b5f2 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 2 Sep 2018 21:35:52 +0200 Subject: [PATCH 1/1] add daily quota to the features table information --- .../shared/instance/instance-features-table.component.html | 4 ++-- .../shared/instance/instance-features-table.component.scss | 1 - .../app/shared/instance/instance-features-table.component.ts | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) 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 ba170f074..dc8db8cc1 100644 --- a/client/src/app/shared/instance/instance-features-table.component.html +++ b/client/src/app/shared/instance/instance-features-table.component.html @@ -6,13 +6,13 @@ - {{ initialUserVideoQuota | bytes: 0 }} + {{ initialUserVideoQuota | bytes: 0 }} ({{ dailyUserVideoQuota | bytes: 0 }} per day) - Unlimited + Unlimited ({{ dailyUserVideoQuota | bytes: 0 }} per day) diff --git a/client/src/app/shared/instance/instance-features-table.component.scss b/client/src/app/shared/instance/instance-features-table.component.scss index d597a03ba..90fbb5c94 100644 --- a/client/src/app/shared/instance/instance-features-table.component.scss +++ b/client/src/app/shared/instance/instance-features-table.component.scss @@ -3,7 +3,6 @@ table { font-size: 14px; - max-width: 400px; .label { font-weight: $font-semibold; 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 1aad5aa81..da8da0702 100644 --- a/client/src/app/shared/instance/instance-features-table.component.ts +++ b/client/src/app/shared/instance/instance-features-table.component.ts @@ -21,6 +21,10 @@ export class InstanceFeaturesTableComponent implements OnInit { return this.serverService.getConfig().user.videoQuota } + get dailyUserVideoQuota () { + return this.serverService.getConfig().user.videoQuotaDaily + } + ngOnInit () { this.serverService.configLoaded .subscribe(() => { -- 2.41.0