liquid_feedback_frontend

annotate model/rendered_draft.lua @ 172:165f4bd02cf3

don't show the first draft of a new initiative as a new draft event in the timeline

new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sun Oct 10 19:40:32 2010 +0200 (2010-10-10)
parents 134fce4bede3
children
rev   line source
bsw@81 1 RenderedDraft = mondelefant.new_class()
bsw@81 2 RenderedDraft.table = 'rendered_draft'
bsw@81 3 RenderedDraft.primary_key = { "draft_id", "format" }
bsw@81 4
bsw@81 5 RenderedDraft:add_reference{
bsw@81 6 mode = 'm1',
bsw@81 7 to = "Draft",
bsw@81 8 this_key = 'draft_id',
bsw@81 9 that_key = 'id',
bsw@81 10 ref = 'draft',
bsw@81 11 }

Impressum / About Us