summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-09-12 01:17:13 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-09-12 01:18:05 +0200
commitae6de0c7f44017015770079cec62514f3166a1a4 (patch)
tree51d17246cc8c518cdd771084740fad9fd7f845ef /modules/luci-mod-network/htdocs/luci-static/resources
parentf8ef86bf29f7ca6c750ff9166a9ff82d567d567a (diff)
luci-mod-network: Clarify 'metric' value
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js3
1 files changed, 2 insertions, 1 deletions
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';