luci-mod-network: remove uppercase for interface name on overview page
authorFlorian Eckert <[email protected]>
Wed, 26 Oct 2022 10:04:52 +0000 (12:04 +0200)
committerFlorian Eckert <[email protected]>
Wed, 26 Oct 2022 10:10:31 +0000 (12:10 +0200)
In the overview page, the name of the interface is converted to
uppercase. However, this is not the name in the configuration. From my
point of view, this makes no sense. The name displayed should correspond
exactly to the name in the configuration.

Signed-off-by: Florian Eckert <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index b88183d51f127661c1dbcff1047b25179e8821cf..416ffb9d17dc6405da69cee73d2ce54e629c58d3 100644 (file)
@@ -1199,7 +1199,7 @@ return view.extend({
                                        'class': 'ifacebox-head',
                                        'style': firewall.getZoneColorStyle(zone),
                                        'title': zone ? _('Part of zone %q').format(zone.getName()) : _('No zone assigned')
-                               }, E('strong', net.getName().toUpperCase())),
+                               }, E('strong', net.getName())),
                                E('div', {
                                        'class': 'ifacebox-body',
                                        'id': '%s-ifc-devices'.format(section_id),