liquid_feedback_frontend
view app/main/initiative/show.lua @ 534:3e4f6534bb15
merge
| author | bsw | 
|---|---|
| date | Mon May 21 22:00:49 2012 +0200 (2012-05-21) | 
| parents | 4cee33ad5e16 | 
| children | 8af806af86a0 | 
 line source
     1 local initiative = Initiative:by_id(param.get_id())
     3 app.html_title.title = initiative.name
     4 app.html_title.subtitle = _("Initiative ##{id}", { id = initiative.id })
     6 slot.select("head", function()
     7   execute.view{
     8     module = "issue", view = "_head",
     9     params = { issue = initiative.issue, initiative = initiative }
    10   }
    11 end)
    13 execute.view{
    14   module = "initiative",
    15   view = "_show",
    16   params = {
    17     initiative = initiative,
    18     initiator = initiator
    19   }
    20 }
