bsw@525: local unit = param.get("unit", "table") bsw@529: bsw@1045: ui.title ( function () bsw@525: bsw@1045: ui.tag{ attr = { class = "unit" }, content = function() 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 = unit.name } bsw@1045: end, bsw@1045: module = "unit", view = "show", bsw@1045: id = unit.id bsw@1045: } bsw@525: bsw@1045: execute.view { bsw@1045: module = "delegation", view = "_info", params = { bsw@1045: unit = unit, member = member bsw@526: } bsw@1045: } bsw@1045: bsw@1045: if config.single_unit_id and not app.session.member_id and config.motd_public then bsw@1045: ui.container{ bsw@1045: attr = { class = "wiki motd" }, bsw@1045: content = function() bsw@1045: slot.put(config.motd_public) bsw@1045: end bsw@526: } bsw@526: end bsw@525: end } bsw@1045: bsw/jbe@1309: end )