annotate app/main/lf2/_interested.lua @ 215:1dab81353eb1
More enhancements for second generation frontend
author |
bsw |
date |
Sat Mar 05 15:34:17 2011 +0100 (2011-03-05) |
parents |
3e4ad069847a |
children |
4f6e6b213fb8 |
rev |
line source |
bsw@211
|
1 local interested_members = param.get("interested_members", "table")
|
bsw@215
|
2 ui.box{ row_count = 2, 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 }
|