luci-mod-network: put each IPv6 address on a separate line
authorDavid Härdeman <david@hardeman.nu>
Wed, 7 Feb 2024 14:41:48 +0000 (15:41 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 13:41:24 +0000 (14:41 +0100)
commit6f8b086aae3d46444605079a88ffd391546ede71
tree2cdf1b8e2ffc10c4efed5eb921726cca28c8d5b3
parentd5c562e3b6b4db7914902cc2bedf09ac1ef33d6c
luci-mod-network: put each IPv6 address on a separate line

Right now, when there's active DHCPv6 leases and more than one address per host
(e.g. because ULA is used together with GUA prefixes), the two IPv6 addresses
will be printed on one line (which may or may not get broken up depending on
the length of the addresses, which also looks inconsistent).

Putting each address on a separate line makes it much easier to read the
addresses (IMHO).

Signed-off-by: David Härdeman <david@hardeman.nu>
(cherry picked from commit 9116a93d4311f541efa026f9eb3309a5f7554fd4)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js