From af2b31bd7a98e5e550b93380c23f785ea823ba2c Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 12 Apr 2019 17:12:26 +0200 Subject: [PATCH] gateway status widget, align status and color to system_gateways.php, for https://github.com/opnsense/core/issues/3408 --- src/www/widgets/api/plugins/gateway.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/widgets/api/plugins/gateway.inc b/src/www/widgets/api/plugins/gateway.inc index d53b480b2..2ce5f4adf 100644 --- a/src/www/widgets/api/plugins/gateway.inc +++ b/src/www/widgets/api/plugins/gateway.inc @@ -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'] = '~';