liquid_feedback_frontend
view app/main/area/list.lua @ 92:42547a48774d
Fixed locking in add/remove interest action
author | bsw |
---|---|
date | Thu Aug 19 15:36:39 2010 +0200 (2010-08-19) |
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 --]]