diff options
author | Tomasz Grobelny <tomasz@grobelny.net> | 2019-01-29 21:26:44 +0100 |
---|---|---|
committer | Tomasz Grobelny <tomasz@grobelny.net> | 2019-01-29 21:26:44 +0100 |
commit | 08919eb19335825dc1f2cd950f9529a2b9caf29b (patch) | |
tree | b8b0feecbac68789b0f89526c19f1c64523e2544 /apps/files/templates | |
parent | 04d326f95feacd640dc5d6fecff1ec0ef0970265 (diff) | |
parent | deb7d2364f38ce24bee62cd490fccfd6e4d3f059 (diff) | |
download | nextcloud-server-08919eb19335825dc1f2cd950f9529a2b9caf29b.tar.gz nextcloud-server-08919eb19335825dc1f2cd950f9529a2b9caf29b.zip |
Merge branch 'master' into operation_progress_improvements3
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/appnavigation.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index c6361d0ca4f..fecaa8401a9 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -12,12 +12,13 @@ <li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?><?php if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) { - ?>has-tooltip" title="<?php p($_['usage_relative'] . '%'); + ?>has-tooltip" title="<?php p($_['usage_relative'] . '%, '); + p($l->t('%s of %s used', [$_['usage'], $_['total_space']])); } ?>"> <a href="#" class="icon-quota svg"> <p id="quotatext"><?php if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) { - p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); + p($l->t('%1$s%% of %2$s used', [round($_['usage_relative'], 1), $_['total_space']])); } else { p($l->t('%s used', [$_['usage']])); } ?></p> |