annotate app/main/lf2/_interested.lua @ 212:3e4ad069847a
Some more work at 2nd generation frontend code
| author |
bsw |
| date |
Thu Mar 03 18:39:00 2011 +0100 (2011-03-03) |
| parents |
4993b71b383f |
| children |
1dab81353eb1 |
| rev |
line source |
|
bsw@211
|
1 local interested_members = param.get("interested_members", "table")
|
|
bsw@211
|
2 ui.box{ content = function()
|
|
bsw@211
|
3 ui.box_row{ class = "head interested", content = function()
|
|
bsw@212
|
4 ui.box_col{ class = "head left", content = _"Members, interested in this issue" }
|
|
bsw@212
|
5 ui.box_col{ class = "right", content = _("#{count} members", { count = #interested_members }) }
|
|
bsw@211
|
6 end }
|
|
bsw@211
|
7 ui.box_row{ class = "interested", content = function()
|
|
bsw@211
|
8 ui.box_col{ class = "", content = function()
|
|
bsw@211
|
9 execute.view{ module = "lf2", view = "_avatars", params = { members = interested_members } }
|
|
bsw@211
|
10 end }
|
|
bsw@211
|
11 end }
|
|
bsw@211
|
12 end }
|