luci-mod-network: retitle dhcp/dns views
authorDavid Härdeman <[email protected]>
Wed, 15 Oct 2025 17:28:56 +0000 (19:28 +0200)
committerPaul Donald <[email protected]>
Sat, 18 Oct 2025 21:51:38 +0000 (23:51 +0200)
And remove a confusing reference to dnsmasq at the top of each page, the
message is a bit of a non-sequitur and doesn't really add any useful
information.

Signed-off-by: David Härdeman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js

index 573656af87bf67d5bd8b6b85bf4bfdc2897453ea..3f437fcbbed9df3e06a1fe6ea8afbd355312709e 100644 (file)
@@ -348,8 +348,7 @@ return view.extend({
                        return template.replace(/\{(\w+)\}/g, (match, key) => values[key] || match);
                };
 
-               m = new form.Map('dhcp', _('DHCP and DNS'),
-                       _('Dnsmasq is a lightweight <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> server and <abbr title="Domain Name System">DNS</abbr> forwarder.'));
+               m = new form.Map('dhcp', _('DHCP'));
 
                s = m.section(form.TypedSection, 'dnsmasq');
                s.anonymous = false;
index 04a83c6c01ae907796712a0e040bf1dcee2d07f9..e10766f72ae9ae6e2eb78605bbcc31b0d56c9de6 100644 (file)
@@ -349,8 +349,7 @@ return view.extend({
                        return template.replace(/\{(\w+)\}/g, (match, key) => values[key] || match);
                };
 
-               m = new form.Map('dhcp', _('DHCP and DNS'),
-                       _('Dnsmasq is a lightweight <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> server and <abbr title="Domain Name System">DNS</abbr> forwarder.'));
+               m = new form.Map('dhcp', _('DNS'));
 
                s = m.section(form.TypedSection, 'dnsmasq');
                s.anonymous = false;