liquid_feedback_frontend

view app/main/draft/_show.lua @ 24:81586ea68d57

Minor bugfixes

app/main/initiative/_list.lua:
Replaced single by optional object mode

locale/translations.de.lua:
Consistent translation

app/main/initiative/_show.lua:
Added missing case "not approved" in voting info box

app/main/initiative/_show_voting.lua:
Added link to initiative

app/main/initiative/_show_voting.lua:
Added missing argument for link

app/main/member/show_tab.lua:
Added outgoing argument to show outgoing delegations correctly
author bsw
date Sun Feb 21 14:09:11 2010 +0100 (2010-02-21)
parents 00d1004545f1
children 0849be391140
line source
1 local draft = param.get("draft", "table")
3 ui.form{
4 attr = { class = "vertical" },
5 record = draft,
6 readonly = true,
7 content = function()
9 ui.field.text{
10 label = _"Last author",
11 value = _(
12 "#{author} at #{date}", {
13 author = draft.author_name,
14 date = format.timestamp(draft.created)
15 }
16 )
17 }
18 ui.container{
19 attr = { class = "draft_content wiki" },
20 content = function()
21 slot.put(format.wiki_text(draft.content, draft.formatting_engine))
22 end
23 }
24 end
25 }

Impressum / About Us