liquid_feedback_frontend

view 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
line source
1 RenderedDraft = mondelefant.new_class()
2 RenderedDraft.table = 'rendered_draft'
3 RenderedDraft.primary_key = { "draft_id", "format" }
5 RenderedDraft:add_reference{
6 mode = 'm1',
7 to = "Draft",
8 this_key = 'draft_id',
9 that_key = 'id',
10 ref = 'draft',
11 }

Impressum / About Us