summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/templates/personal.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 661c242ea6b..33534e59f19 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -34,7 +34,8 @@
<div id="quota" class="section">
- <div style="width:<?php p($_['usage_relative']);?>%;">
+ <div style="width:<?php p($_['usage_relative']);?>%;
+ <?php if($_['usage_relative'] > 80): ?>background-color:#fc4;<?php endif; ?>">
<p id="quotatext">
<?php print_unescaped($l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>',
array($_['usage'], $_['total_space'])));?>