annotate app/main/lf2/_initiatives.lua @ 218:7ea52c710503
Some little changes for next generation frontend
| author |
bsw |
| date |
Sun Mar 13 16:53:33 2011 +0100 (2011-03-13) |
| parents |
4f6e6b213fb8 |
| children |
|
| 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@216
|
5 for i, initiative in ipairs(initiatives) do
|
|
bsw@211
|
6
|
|
bsw@216
|
7 ui.box_row{ class = "initiative", content = function() ui.box_col { content = function()
|
|
bsw@216
|
8 execute.view{ module = "lf2", view = "_initiative", params = { initiative = initiative } }
|
|
bsw@216
|
9 end } end }
|
|
bsw@211
|
10
|
|
bsw@216
|
11 end |