liquid_feedback_frontend

view app/main/suggestion/show.lua @ 81:134fce4bede3

Cache for rendered wiki texts; Accountless API keys; Reverse id order for initiative API
- Support for caching html version of drafts
- Using pre-rendered html versions of help messages
- Added Support for api keys not connected to an account
- Added order option "id_desc" to initiative API
author bsw
date Sat Jul 24 17:22:05 2010 +0200 (2010-07-24)
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 }

Impressum / About Us