bsw@525: local area = param.get("area", "table") bsw@525: bsw@1045: ui.title ( function () bsw@529: bsw@1699: if not app.single_unit_id then bsw@1699: -- unit link bsw@1699: ui.link { bsw@1699: attr = { class = "unit" }, bsw@1699: content = function() bsw@1699: ui.tag{ attr = { class = "name" }, content = area.unit.name } bsw@1699: end, bsw@1699: module = "index", view = "index", bsw@1699: params = { unit = area.unit_id } bsw@1699: } bsw@529: bsw@1699: ui.tag { attr = { class = "spacer" }, content = function() bsw@1699: slot.put ( " ยป " ) bsw@1699: end } bsw@1699: end bsw@525: bsw@1602: ui.tag{ content = area.name } bsw@526: bsw/jbe@1309: end )