liquid_feedback_frontend

annotate app/main/draft/_show.lua @ 41:53a45356c107

Several bugfixes, including bugfix in timeline

- Fixed grouping of multiple new drafts in timeline
- Do not allow to add suggestions when issue is half frozen
- Do not show initiator invitations for (half-)frozen or closed issues
- Fixed problem with duplicates in display of vote-later requests
- Clarified german "member is participating" info text in delegation chain
- Hide inactive members from member listing
author bsw
date Sun Mar 07 15:36:54 2010 +0100 (2010-03-07)
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