annotate app/main/lf2/_initiatives.lua @ 211:4993b71b383f
First checkin of lf2 (frontend second generation) prototype
| author |
bsw |
| date |
Wed Mar 02 20:06:26 2011 +0100 (2011-03-02) |
| parents |
|
| children |
4f6e6b213fb8 |
| rev |
line source |
|
bsw@211
|
1 local initiatives = param.get("initiatives", "table")
|
|
bsw@211
|
2
|
|
bsw@211
|
3 initiatives:load("initiating_members", nil, "initiating_members")
|
|
bsw@211
|
4
|
|
bsw@211
|
5 ui.box{ content = function()
|
|
bsw@211
|
6 for i, initiative in ipairs(initiatives) do
|
|
bsw@211
|
7
|
|
bsw@211
|
8 ui.box_row{ class = "initiative", content = function() ui.box_col { content = function()
|
|
bsw@211
|
9 execute.view{ module = "lf2", view = "_initiative", params = { initiative = initiative } }
|
|
bsw@211
|
10 end } end }
|
|
bsw@211
|
11
|
|
bsw@211
|
12 end
|
|
bsw@211
|
13 end } |