Move quota icon to core

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/9332/head
Julius Härtl 7 years ago
parent d0efe1bf6c
commit 94528ad2be
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 3
      apps/files/css/files.scss
  2. 2
      apps/files/templates/appnavigation.php
  3. 0
      core/img/actions/quota.svg

@ -105,9 +105,6 @@
.nav-icon-trashbin {
background-image: url('../img/delete.svg?v=1');
}
.nav-icon-quota {
background-image: url('../img/quota.svg?v=1');
}
#app-navigation .nav-files a.nav-icon-files {
width: auto;

@ -15,7 +15,7 @@
if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
?>has-tooltip" title="<?php p($_['usage_relative'] . '%');
} ?>">
<a href="#" class="nav-icon-quota svg">
<a href="#" class="icon-quota svg">
<p id="quotatext"><?php
if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
p($l->t('%s of %s used', [$_['usage'], $_['total_space']]));

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 261 B

Loading…
Cancel
Save