Commit 4138d97d6964512b1bc74412f287b7708668d08b

Authored by Kevin Fourie
1 parent 9e27eb71

KTS-2733

"Colouration of DiskUsageDashlet is incorrect"

Fixed. Thanks Dirk!

Committed By: Kevin Fourie
Reviewed By: Jonathan Byrne

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7749 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/housekeeper/DiskUsageDashlet.inc.php
... ... @@ -114,6 +114,10 @@ class DiskUsageDashlet extends KTBaseDashlet
114 114 {
115 115 $colour = 'orange';
116 116 }
  117 + elseif ( $usedp < 100 - $this->warningPercent)
  118 + {
  119 + $colour = 'none';
  120 + }
117 121  
118 122 $usage[] = array(
119 123 'filesystem'=>$filesystem,
... ...