mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-15 10:55:59 +00:00
[Web] Fix class for full mailbox
This commit is contained in:
@@ -3023,12 +3023,12 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
if ($mailboxdata['percent_in_use'] === '- ') {
|
if ($mailboxdata['percent_in_use'] === '- ') {
|
||||||
$mailboxdata['percent_class'] = "info";
|
$mailboxdata['percent_class'] = "info";
|
||||||
}
|
}
|
||||||
elseif ($mailboxdata['percent_in_use'] >= 75) {
|
|
||||||
$mailboxdata['percent_class'] = "warning";
|
|
||||||
}
|
|
||||||
elseif ($mailboxdata['percent_in_use'] >= 90) {
|
elseif ($mailboxdata['percent_in_use'] >= 90) {
|
||||||
$mailboxdata['percent_class'] = "danger";
|
$mailboxdata['percent_class'] = "danger";
|
||||||
}
|
}
|
||||||
|
elseif ($mailboxdata['percent_in_use'] >= 75) {
|
||||||
|
$mailboxdata['percent_class'] = "warning";
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$mailboxdata['percent_class'] = "success";
|
$mailboxdata['percent_class'] = "success";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user