liquid_feedback_frontend
annotate app/main/initiative/show.lua @ 527:4cee33ad5e16
Completed support for config.public_access = "full"
| author | bsw | 
|---|---|
| date | Fri May 18 19:44:41 2012 +0200 (2012-05-18) | 
| parents | 18cd8595459b | 
| children | 8af806af86a0 | 
| rev | line source | 
|---|---|
| bsw@527 | 1 local initiative = Initiative:by_id(param.get_id()) | 
| bsw/jbe@0 | 2 | 
| jorges@103 | 3 app.html_title.title = initiative.name | 
| jorges@103 | 4 app.html_title.subtitle = _("Initiative ##{id}", { id = initiative.id }) | 
| jorges@103 | 5 | 
| bsw@526 | 6 slot.select("head", function() | 
| bsw@526 | 7 execute.view{ | 
| bsw@527 | 8 module = "issue", view = "_head", | 
| bsw@527 | 9 params = { issue = initiative.issue, initiative = initiative } | 
| bsw@526 | 10 } | 
| bsw@526 | 11 end) | 
| bsw@526 | 12 | 
| bsw@278 | 13 execute.view{ | 
| bsw@278 | 14 module = "initiative", | 
| bsw@278 | 15 view = "_show", | 
| bsw@278 | 16 params = { | 
| bsw@278 | 17 initiative = initiative, | 
| bsw@278 | 18 initiator = initiator | 
| bsw/jbe@19 | 19 } | 
| bsw@278 | 20 } |