summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-04 17:26:56 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-12 11:07:07 +0200
commit7f07ff48f24145292c08812b6108453909600247 (patch)
treec5e4e2ddcbad199ea736c56687e134c1f9b1eb27
parentca00e24504095a8aa5276283a9795074db5693c6 (diff)
downloadnextcloud-server-7f07ff48f24145292c08812b6108453909600247.tar.gz
nextcloud-server-7f07ff48f24145292c08812b6108453909600247.zip
Correct class to quota
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/files/templates/appnavigation.php2
-rw-r--r--settings/templates/settings/personal/personal.info.php5
2 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 6a7b4e4b11e..8326fad73ea 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -24,7 +24,7 @@
} ?></p>
<div class="quota-container">
<progress value="<?php p($_['usage_relative']); ?>" max="100"
- <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>></progress>
+ <?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
</div>
</a>
</li>
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php
index d6f6061ebf2..c0326e97491 100644
--- a/settings/templates/settings/personal/personal.info.php
+++ b/settings/templates/settings/personal/personal.info.php
@@ -39,10 +39,9 @@ vendor_style('jcrop/css/jquery.Jcrop');
<div id="quota" class="section">
<progress value="<?php p($_['usage_relative']); ?>" max="100"
- <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>></progress>
+ <?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
- <div style="width:<?php p($_['usage_relative']);?>%" class="quotatext-fg
- <?php if($_['usage_relative'] > 80): ?> quota-warning <?php endif; ?>">
+ <div style="width:<?php p($_['usage_relative']);?>%" class="quotatext-fg">
<p class="quotatext">
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>',