summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-03 10:31:56 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-03 10:32:16 +0200
commit94528ad2be8e2bccce42e92dc1abccd3a2433b2e (patch)
tree0358cdef20b04643f26493852b6a57af101fdaf0
parentd0efe1bf6c925a002f3777305fb6ad6f2f26f2dd (diff)
downloadnextcloud-server-94528ad2be8e2bccce42e92dc1abccd3a2433b2e.tar.gz
nextcloud-server-94528ad2be8e2bccce42e92dc1abccd3a2433b2e.zip
Move quota icon to core
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--apps/files/css/files.scss3
-rw-r--r--apps/files/templates/appnavigation.php2
-rw-r--r--core/img/actions/quota.svg (renamed from apps/files/img/quota.svg)0
3 files changed, 1 insertions, 4 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index b89332248f7..d2d810c1e6c 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -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;
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index a85e2515a92..c811ace8abe 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -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']]));
diff --git a/apps/files/img/quota.svg b/core/img/actions/quota.svg
index 691cb29efce..691cb29efce 100644
--- a/apps/files/img/quota.svg
+++ b/core/img/actions/quota.svg