liquid_feedback_frontend
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/lf2/_initiatives.lua Wed Mar 02 20:06:26 2011 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +local initiatives = param.get("initiatives", "table") 1.5 + 1.6 +initiatives:load("initiating_members", nil, "initiating_members") 1.7 + 1.8 +ui.box{ content = function() 1.9 + for i, initiative in ipairs(initiatives) do 1.10 + 1.11 + ui.box_row{ class = "initiative", content = function() ui.box_col { content = function() 1.12 + execute.view{ module = "lf2", view = "_initiative", params = { initiative = initiative } } 1.13 + end } end } 1.14 + 1.15 + end 1.16 +end } 1.17 \ No newline at end of file