modules/admin-full: expose switch title on vlan page
This commit is contained in:
parent
cd46e1611e
commit
9ebf900719
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ m.uci:foreach("network", "switch",
|
|||
|
||||
|
||||
-- VLAN table
|
||||
s = m:section(TypedSection, "switch_vlan", translatef("VLANs on %q", switch_name))
|
||||
s = m:section(TypedSection, "switch_vlan",
|
||||
switch_title and translatef("VLANs on %q (%s)", switch_name, switch_title)
|
||||
or translatef("VLANs on %q", switch_name))
|
||||
|
||||
s.template = "cbi/tblsection"
|
||||
s.addremove = true
|
||||
s.anonymous = true
|
||||
|
|
Loading…
Reference in a new issue