diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-04-08 14:05:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-04-08 15:34:28 +0200 |
commit | 9fc659ad437d37c2a800a9cb3e5f7bd4830aa4d0 (patch) | |
tree | 6a37f3f69bf4fdc996133f65cf4380e2df4d2957 /applications/luci-app-travelmate/po | |
parent | 0e71b881aea2c0f55250dc863d68f1974ac50401 (diff) |
luci-mod-network: dhcp.js: improve behavior with default configuration
- Hide anonymous section title if only one instance is present
- Hide section remove button if only one instance is present
- In case multiple sections are present, label the first and
subsequent anonymous sections as `Default instance` and
`Unnamed instance #N` respectively
- Label named sections as `Instance "XXX"`
- Label delete buttons as `Remove instance "XXX"`,
`Remove default instance` or `Remove instance #N` depending on whether
the associated instance is the first anonymous one, a subsequent
anonymous one or a named one
- Label add button as `Add server instance`
- Add placeholder text `New instance nameā¦` to the section name input
Ref: https://forum.openwrt.org/t/x/194048
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-travelmate/po')
0 files changed, 0 insertions, 0 deletions