liquid_feedback_frontend
annotate app/main/suggestion/show.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
| author | bsw/jbe |
|---|---|
| date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) |
| parents | 00d1004545f1 |
| children | 7d0f4721d2f3 |
| rev | line source |
|---|---|
| bsw/jbe@0 | 1 local suggestion = Suggestion:by_id(param.get_id()) |
| bsw/jbe@0 | 2 |
| bsw/jbe@0 | 3 slot.put_into("title", encode.html(_"Suggestion for initiative: '#{name}'":gsub("#{name}", suggestion.initiative.name) )) |
| bsw/jbe@0 | 4 |
| bsw/jbe@6 | 5 slot.select("actions", function() |
| bsw/jbe@6 | 6 ui.link{ |
| bsw/jbe@6 | 7 content = function() |
| bsw/jbe@6 | 8 ui.image{ static = "icons/16/resultset_previous.png" } |
| bsw/jbe@6 | 9 slot.put(_"Back") |
| bsw/jbe@6 | 10 end, |
| bsw/jbe@6 | 11 module = "initiative", |
| bsw/jbe@6 | 12 view = "show", |
| bsw/jbe@6 | 13 id = suggestion.initiative.id, |
| bsw/jbe@19 | 14 params = { tab = "suggestions" } |
| bsw/jbe@6 | 15 } |
| bsw/jbe@6 | 16 end) |
| bsw/jbe@6 | 17 |
| bsw/jbe@0 | 18 execute.view{ |
| bsw/jbe@0 | 19 module = "suggestion", |
| bsw/jbe@19 | 20 view = "show_tab", |
| bsw/jbe@19 | 21 params = { |
| bsw/jbe@19 | 22 suggestion = suggestion |
| bsw/jbe@0 | 23 } |
| bsw/jbe@19 | 24 } |