liquid_feedback_frontend
diff app/main/initiative/show.lua @ 526:18cd8595459b
Fixes for public access
| author | bsw |
|---|---|
| date | Fri May 18 19:21:45 2012 +0200 (2012-05-18) |
| parents | 63d6549cc00b |
| children | 4cee33ad5e16 |
line diff
1.1 --- a/app/main/initiative/show.lua Fri May 18 19:07:07 2012 +0200 1.2 +++ b/app/main/initiative/show.lua Fri May 18 19:21:45 2012 +0200 1.3 @@ -8,13 +8,17 @@ 1.4 app.html_title.subtitle = _("Initiative ##{id}", { id = initiative.id }) 1.5 1.6 1.7 -execute.view{ 1.8 - module = "issue", 1.9 - view = "_head", 1.10 - params = { issue = initiative.issue, 1.11 - initiative = initiative } 1.12 -} 1.13 +slot.select("head", function() 1.14 1.15 + execute.view{ 1.16 + module = "issue", 1.17 + view = "_head", 1.18 + params = { issue = initiative.issue, 1.19 + initiative = initiative } 1.20 + } 1.21 + 1.22 +end) 1.23 + 1.24 if not initiative then 1.25 initiative = Initiative:by_id(param.get_id()) 1.26 expanded = true