bsw@525: local area = param.get("area", "table") bsw@774: local member = param.get("member", "table") bsw@525: bsw@1045: ui.title ( function () bsw@529: bsw@1045: -- unit link bsw@1045: ui.link { bsw@1045: attr = { class = "unit" }, bsw@1045: content = function() bsw@1045: ui.tag{ attr = { class = "name" }, content = area.unit.name } bsw@1045: end, bsw@1045: module = "unit", view = "show", bsw@1045: id = area.unit.id bsw@1045: } bsw@529: bsw@1045: ui.tag { attr = { class = "spacer" }, content = function() bsw@1045: slot.put ( " ยป " ) bsw@1045: end } bsw@525: bsw@1045: ui.tag { attr = { class = "area" }, content = function() bsw@1045: -- area link bsw@1045: ui.link { bsw@1045: content = function() bsw@1045: ui.tag{ attr = { class = "name" }, content = area.name } bsw@1045: end, bsw@1045: module = "area", view = "show", bsw@1045: id = area.id bsw@1045: } bsw@1045: bsw@1045: slot.put ( " " ) bsw@525: bsw@1045: execute.view { bsw@1045: module = "delegation", view = "_info", params = { bsw@1045: area = area, member = member, for_title = true bsw@1045: } bsw@526: } bsw@526: end } bsw@526: bsw/jbe@1309: end )