liquid_feedback_frontend

annotate 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
rev   line source
bsw/jbe@0 1 local draft = param.get("draft", "table")
bsw/jbe@0 2
bsw/jbe@0 3 ui.form{
bsw/jbe@0 4 attr = { class = "vertical" },
bsw/jbe@0 5 record = draft,
bsw/jbe@0 6 readonly = true,
bsw/jbe@0 7 content = function()
bsw/jbe@0 8
bsw/jbe@19 9 ui.field.text{
bsw/jbe@19 10 label = _"Last author",
bsw/jbe@19 11 value = _(
bsw/jbe@19 12 "#{author} at #{date}", {
bsw/jbe@19 13 author = draft.author_name,
bsw/jbe@19 14 date = format.timestamp(draft.created)
bsw/jbe@19 15 }
bsw/jbe@19 16 )
bsw/jbe@19 17 }
bsw@2 18 ui.container{
bsw/jbe@4 19 attr = { class = "draft_content wiki" },
bsw@2 20 content = function()
bsw/jbe@4 21 slot.put(format.wiki_text(draft.content, draft.formatting_engine))
bsw@2 22 end
bsw@2 23 }
bsw/jbe@0 24 end
bsw/jbe@0 25 }

Impressum / About Us