liquid_feedback_frontend

view app/main/area/list.lua @ 181:105abd1d4996

Respect newlines in suggestions instead of pre-formatting them
author bsw
date Sun Oct 31 23:51:00 2010 +0100 (2010-10-31)
parents c553898f64cb
children c0835d707465
line source
1 if app.session.member_id then
2 slot.put_into("title", _'Area list')
3 else
4 slot.put_into("title", encode.html(config.app_title))
5 end
7 if not app.session.member_id and config.motd_public then
8 local help_text = config.motd_public
9 ui.container{
10 attr = { class = "wiki motd" },
11 content = function()
12 slot.put(format.wiki_text(help_text))
13 end
14 }
15 end
17 util.help("area.list", _"Area list")
19 local areas_selector = Area:new_selector():add_where("active")
21 execute.view{
22 module = "area",
23 view = "_list",
24 params = { areas_selector = areas_selector }
25 }
27 --[[
28 execute.view{
29 module = "delegation",
30 view = "_show_box"
31 }
32 --]]

Impressum / About Us