annotate app/main/lf2/_interested.lua @ 216:4f6e6b213fb8
Cleanup on second generation frontend code and stylesheet
| author |
bsw |
| date |
Mon Mar 07 12:15:22 2011 +0100 (2011-03-07) |
| parents |
1dab81353eb1 |
| children |
73dbc9e2bfd4 |
| rev |
line source |
|
bsw@211
|
1 local interested_members = param.get("interested_members", "table")
|
|
bsw@216
|
2 local issue_id = param.get("issue_id", atom.integer)
|
|
bsw@215
|
3 ui.box{ row_count = 2, content = function()
|
|
bsw@211
|
4 ui.box_row{ class = "head interested", content = function()
|
|
bsw@212
|
5 ui.box_col{ class = "head left", content = _"Members, interested in this issue" }
|
|
bsw@212
|
6 ui.box_col{ class = "right", content = _("#{count} members", { count = #interested_members }) }
|
|
bsw@211
|
7 end }
|
|
bsw@211
|
8 ui.box_row{ class = "interested", content = function()
|
|
bsw@211
|
9 ui.box_col{ class = "", content = function()
|
|
bsw@216
|
10 execute.view{ module = "lf2", view = "_avatars", params = { members = interested_members, issue_id = issue_id } }
|
|
bsw@211
|
11 end }
|
|
bsw@211
|
12 end }
|
|
bsw@211
|
13 end }
|