liquid_feedback_frontend
diff app/main/initiative/_show.lua @ 274:aec9df5b4cd3
More optical enhancements and repositioning of elements
| author | bsw |
|---|---|
| date | Sun Feb 12 12:20:19 2012 +0100 (2012-02-12) |
| parents | 7196685f9dd7 |
| children | f460555c9896 |
line diff
1.1 --- a/app/main/initiative/_show.lua Wed Feb 08 18:49:22 2012 +0100 1.2 +++ b/app/main/initiative/_show.lua Sun Feb 12 12:20:19 2012 +0100 1.3 @@ -10,6 +10,20 @@ 1.4 1.5 local initiators = initiators_members_selector:exec() 1.6 1.7 + 1.8 +local initiatives_selector = initiative.issue:get_reference_selector("initiatives") 1.9 +slot.select("initiatives_list", function() 1.10 + execute.view{ 1.11 + module = "initiative", 1.12 + view = "_list", 1.13 + params = { 1.14 + issue = initiative.issue, 1.15 + initiatives_selector = initiatives_selector, 1.16 + no_sort = true, highlight_initiative = initiative, limit = 3 1.17 + } 1.18 + } 1.19 +end) 1.20 + 1.21 slot.select("initiative_head", function() 1.22 1.23 ui.container{ 1.24 @@ -32,8 +46,8 @@ 1.25 module = "member", view = "show", id = initiator.id 1.26 } 1.27 end 1.28 - end 1.29 - } 1.30 + end 1.31 + } 1.32 1.33 if initiator and initiator.accepted and not initiative.issue.fully_frozen and not initiative.issue.closed and not initiative.revoked then 1.34 slot.put(" · ")