diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-06-23 13:24:35 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-07-06 13:28:52 +0000 |
commit | fcbcf210925c519fa4be2e3a5ab0c3b489552059 (patch) | |
tree | 2b2a4b9ac6605185ca8f01dac8a14a78fe0fa115 | |
parent | 9bf7abdf8c27d4dcc80ef7af89020efe969594b2 (diff) | |
download | nextcloud-server-fcbcf210925c519fa4be2e3a5ab0c3b489552059.tar.gz nextcloud-server-fcbcf210925c519fa4be2e3a5ab0c3b489552059.zip |
Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to
have "quotatext" as id.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 0bfdc6f0b54..9aea68fef99 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -12,7 +12,7 @@ <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> <li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>"> <a href="#" class="icon-quota svg"> - <p><?php p($l->t('%s used', [$_['usage']])); ?></p> + <p id="quotatext"><?php p($l->t('%s used', [$_['usage']])); ?></p> </a> </li> <?php else: ?> |