summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorDavid Toledo <dtoledo@solidgear.es>2017-02-27 13:41:05 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-03-19 22:04:55 -0600
commitaa72f0e612d6764f13960c7c32e1c0da1388c4a2 (patch)
tree8a5f70d1539671296d10ca4e99aa7b931b39fd6a /settings/personal.php
parent528a903a7b23ea628e6ec2fc9a221821297c0bec (diff)
downloadnextcloud-server-aa72f0e612d6764f13960c7c32e1c0da1388c4a2.tar.gz
nextcloud-server-aa72f0e612d6764f13960c7c32e1c0da1388c4a2.zip
Add percentage to user's quota info
* Add percentage to user's quota info Fixes https://github.com/owncloud/core/issues/24011 * Do not show percentage if the quota is Unlimited * translate quota * correct condition and remove print_unescaped Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index a1fcd10e0ad..a4449754f64 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -158,6 +158,7 @@ $userData = $accountManager->getUser($user);
$tmpl->assign('total_space', $totalSpace);
$tmpl->assign('usage_relative', $storageInfo['relative']);
+$tmpl->assign('quota', $storageInfo['quota']);
$tmpl->assign('clients', $clients);
$tmpl->assign('email', $userData[\OC\Accounts\AccountManager::PROPERTY_EMAIL]['value']);
$tmpl->assign('languages', $languages);