annotate app/main/lf2/_sidebar_initiatives.lua @ 213:acf92c2d33f4
Seperated css and fixed issue delegations for second generation frontend
| author |
bsw |
| date |
Thu Mar 03 21:26:35 2011 +0100 (2011-03-03) |
| parents |
3e4ad069847a |
| children |
1dab81353eb1 |
| rev |
line source |
|
bsw@212
|
1 local head_content = param.get("head_content", "function")
|
|
bsw@212
|
2
|
|
bsw@211
|
3 local initiatives = param.get("initiatives", "table")
|
|
bsw@211
|
4 ui.box{ content = function()
|
|
bsw@212
|
5 if head_content then
|
|
bsw@212
|
6 ui.box_row{ class = "head", content = function() ui.box_col{ class = "head", content = head_content } end }
|
|
bsw@212
|
7 end
|
|
bsw@211
|
8 ui.box_row{ class = "initiatives", content = function()
|
|
bsw@211
|
9 ui.box_col{ class = "scrolled", content = function()
|
|
bsw@211
|
10 execute.view{ module = "lf2", view = "_issue_initiatives", params = { initiatives = initiatives } }
|
|
bsw@211
|
11 end }
|
|
bsw@211
|
12 end }
|
|
bsw@211
|
13 end }
|
|
bsw@211
|
14
|