From: Rigel Kent Date: Sun, 2 Sep 2018 19:35:52 +0000 (+0200) Subject: add daily quota to the features table information X-Git-Tag: v1.0.0-beta.12~55 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=61318dd63fc652383cbe043851ade195f061b5f2;hp=20d211990425af8d9bb5c8eba204d2b485bcd19a;p=github%2FChocobozzz%2FPeerTube.git add daily quota to the features table information --- 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(() => {