summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-05-03 10:50:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-05-03 10:50:08 +0200
commitb6457e4135b7275034ecac956cc1c4323eb4f4cd (patch)
tree53dbca0752efb5e0541e7781e30865e28292a8e0 /settings
parent94528ad2be8e2bccce42e92dc1abccd3a2433b2e (diff)
downloadnextcloud-server-b6457e4135b7275034ecac956cc1c4323eb4f4cd.tar.gz
nextcloud-server-b6457e4135b7275034ecac956cc1c4323eb4f4cd.zip
Only show used amount for unlimited quota users
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/settings/personal/personal.info.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php
index 09aba90f502..e581e6d39e6 100644
--- a/settings/templates/settings/personal/personal.info.php
+++ b/settings/templates/settings/personal/personal.info.php
@@ -84,8 +84,8 @@ vendor_style('jcrop/css/jquery.Jcrop');
<div class="quotatext-bg">
<p class="quotatext">
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
- <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>',
- [$_['usage'], $_['total_space']]));?>
+ <?php print_unescaped($l->t('You are using <strong>%s</strong>',
+ [$_['usage']]));?>
<?php else: ?>
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)',
[$_['usage'], $_['total_space'], $_['usage_relative']]));?>