gateway status widget, align status and color to system_gateways.php, for https://github.com/opnsense/core/issues/3408

This commit is contained in:
Ad Schellevis 2019-04-12 17:12:26 +02:00
parent 58a2efd4f9
commit af2b31bd7a

View File

@ -62,8 +62,8 @@ function gateway_api()
break;
}
} else {
$gatewayItem['status'] = '~';
$gatewayItem['status_translated'] = gettext('Unknown');
$gatewayItem['status'] = 'none';
$gatewayItem['status_translated'] = gettext('Online');
$gatewayItem['loss'] = '~';
$gatewayItem['stddev'] = '~';
$gatewayItem['delay'] = '~';