summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2017-10-12 11:54:14 +0200
committerGitHub <noreply@github.com>2017-10-12 11:54:14 +0200
commit423be3df52c734c3a766df1ec19136769eb62da5 (patch)
treec5e4e2ddcbad199ea736c56687e134c1f9b1eb27 /settings
parentadb847de419c0c44c6ff7ed2fbf3e510bbf63ed4 (diff)
parent7f07ff48f24145292c08812b6108453909600247 (diff)
downloadnextcloud-server-423be3df52c734c3a766df1ec19136769eb62da5.tar.gz
nextcloud-server-423be3df52c734c3a766df1ec19136769eb62da5.zip
Merge pull request #6763 from nextcloud/fix-user-quota
Fix quota overflow and error color
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/settings/personal/personal.info.php5
1 files changed, 2 insertions, 3 deletions
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>',