liquid_feedback_frontend
view app/main/suggestion/show.lua @ 79:26c8177ef348
Support for multiple usage terms accept checkboxes
(including neccessary bugfix in member model)
(including neccessary bugfix in member model)
author | bsw |
---|---|
date | Thu Jul 15 18:27:47 2010 +0200 (2010-07-15) |
parents | 00d1004545f1 |
children | 7d0f4721d2f3 |
line source
1 local suggestion = Suggestion:by_id(param.get_id())
3 slot.put_into("title", encode.html(_"Suggestion for initiative: '#{name}'":gsub("#{name}", suggestion.initiative.name) ))
5 slot.select("actions", function()
6 ui.link{
7 content = function()
8 ui.image{ static = "icons/16/resultset_previous.png" }
9 slot.put(_"Back")
10 end,
11 module = "initiative",
12 view = "show",
13 id = suggestion.initiative.id,
14 params = { tab = "suggestions" }
15 }
16 end)
18 execute.view{
19 module = "suggestion",
20 view = "show_tab",
21 params = {
22 suggestion = suggestion
23 }
24 }