bsw@51: if app.session.member_id then bsw@51: slot.put_into("title", _'Area list') bsw@51: else bsw@51: slot.put_into("title", encode.html(config.app_title)) bsw@51: end bsw@51: bsw@69: if not app.session.member_id and config.motd_public then bsw@69: local help_text = config.motd_public bsw@69: ui.container{ bsw@69: attr = { class = "wiki motd" }, bsw@69: content = function() bsw@69: slot.put(format.wiki_text(help_text)) bsw@69: end bsw@69: } bsw@51: end bsw/jbe@0: bsw/jbe@4: util.help("area.list", _"Area list") bsw/jbe@4: bsw/jbe@0: local areas_selector = Area:new_selector():add_where("active") bsw/jbe@0: bsw/jbe@0: execute.view{ bsw/jbe@0: module = "area", bsw/jbe@0: view = "_list", bsw/jbe@0: params = { areas_selector = areas_selector } bsw/jbe@0: } bsw/jbe@0: bsw/jbe@4: --[[ bsw/jbe@0: execute.view{ bsw/jbe@0: module = "delegation", bsw/jbe@0: view = "_show_box" bsw/jbe@4: } bsw/jbe@4: --]]