Only show used amount for unlimited quota users
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
94528ad2be
commit
b6457e4135
|
@ -84,8 +84,8 @@ vendor_style('jcrop/css/jquery.Jcrop');
|
||||||
<div class="quotatext-bg">
|
<div class="quotatext-bg">
|
||||||
<p class="quotatext">
|
<p class="quotatext">
|
||||||
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
|
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
|
||||||
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>',
|
<?php print_unescaped($l->t('You are using <strong>%s</strong>',
|
||||||
[$_['usage'], $_['total_space']]));?>
|
[$_['usage']]));?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)',
|
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)',
|
||||||
[$_['usage'], $_['total_space'], $_['usage_relative']]));?>
|
[$_['usage'], $_['total_space'], $_['usage_relative']]));?>
|
||||||
|
|
Loading…
Reference in New Issue