luci-mod-network: remove uppercase for interface name on overview page

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 <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2022-10-26 12:04:52 +02:00
parent 3ec7bff0d1
commit 5ffaf47842

View file

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