color quota bar yellow for feedback if usage is over 90%

remotes/origin/fix-10825
Jan-Christoph Borchardt 12 years ago
parent 3ba66e33f8
commit 41ace03911
  1. 3
      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'])));?>

Loading…
Cancel
Save