annotate app/main/issue/_list_initiatives.lua @ 298:724ac69b7c97
Fix voting_right_for_unit_id argument for member selector builder
author |
bsw |
date |
Sat Feb 25 22:27:03 2012 +0100 (2012-02-25) |
parents |
7196685f9dd7 |
children |
7d6a3c411f99 |
rev |
line source |
bsw/jbe@19
|
1 local issue = param.get("issue", "table")
|
bsw/jbe@19
|
2
|
bsw@273
|
3 ui.container{
|
bsw@273
|
4 attr = { class = "issue_initiative_list" },
|
bsw@273
|
5 content = function()
|
bsw@273
|
6 execute.view{
|
bsw@273
|
7 module = "initiative",
|
bsw@273
|
8 view = "_list",
|
bsw@273
|
9 params = {
|
bsw@273
|
10 initiatives_selector = issue:get_reference_selector("initiatives"),
|
bsw@273
|
11 issue = issue,
|
bsw@273
|
12 expandable = true,
|
bsw@273
|
13 for_initiative_id = param.get("for_initiative_id", atom.number),
|
bsw@273
|
14 xshow_for_issue = true,
|
bsw@273
|
15 no_sort = true
|
bsw@273
|
16 }
|
bsw@273
|
17 }
|
bsw@273
|
18 end
|
bsw/jbe@19
|
19 }
|
bsw@273
|
20
|
bsw@273
|
21 slot.put("<br />")
|