From: Paul Donald Date: Wed, 11 Sep 2024 23:17:13 +0000 (+0200) Subject: luci-mod-network: Clarify 'metric' value X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae6de0c7f44017015770079cec62514f3166a1a4;p=project%2Fluci.git luci-mod-network: Clarify 'metric' value Signed-off-by: Paul Donald --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index bacf530f14..e9fc932ab2 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1071,7 +1071,8 @@ return view.extend({ o.datatype = 'uinteger'; o.placeholder = '0'; - o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric')); + o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric'), + _('Metric is an ordinal, where a gateway with 1 is chosen 1st, 2 is chosen 2nd, 3 is chosen 3rd, etc')); o.datatype = 'uinteger'; o.placeholder = '0';