luci-mod-system: system.js: use more concise label for use_dhcp

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-09-24 19:26:24 +02:00
parent 5c8a3c5b79
commit e091859116

View file

@ -261,7 +261,7 @@ return L.view.extend({
o.ucisection = 'ntp'; o.ucisection = 'ntp';
o.depends('enabled', '1'); o.depends('enabled', '1');
o = s.taboption('timesync', form.Flag, 'use_dhcp', _('Use NTP servers offered by DHCP')); o = s.taboption('timesync', form.Flag, 'use_dhcp', _('Use DHCP advertised servers'));
o.ucisection = 'ntp'; o.ucisection = 'ntp';
o.default = o.enabled; o.default = o.enabled;
o.depends('enabled', '1'); o.depends('enabled', '1');