liquid_feedback_frontend

view app/main/suggestion/show.lua @ 107:eeb167cf9dc4

add comand line admin tool

started a command line admin tool to help development.
currently supports setting login passwords and list users
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sun Sep 19 01:33:23 2010 +0200 (2010-09-19)
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