liquid_feedback_frontend

view app/main/suggestion/_suggestion.lua @ 179:b363a2407d8d

Don't highlight own member avatar in delegation chain drop down
author bsw
date Sun Oct 31 23:38:23 2010 +0100 (2010-10-31)
parents 20e0b64cc1f9
children 105abd1d4996
line source
1 local suggestion = param.get("suggestion", "table")
3 ui.form{
4 attr = { class = "vertical" },
5 record = suggestion,
6 readonly = true,
7 content = function()
8 if suggestion.author then
9 suggestion.author:ui_field_text{label=_"Author"}
10 end
11 ui.field.text{ label = _"Title", name = "name" }
12 ui.container{
13 attr = { class = "suggestion_content wiki" },
14 content = function()
15 ui.tag{
16 tag = "pre",
17 content = suggestion.description
18 }
19 end
20 }
21 end
22 }
23 execute.view{
24 module = "suggestion",
25 view = "_list",
26 params = {
27 suggestions_selector = Suggestion:new_selector():add_where{ "id = ?", suggestion.id },
28 initiative = suggestion.initiative,
29 show_name = false,
30 show_filter = false
31 }
32 }

Impressum / About Us