liquid_feedback_frontend

view env/util/gregor.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 77260f05fd4b
children
line source
1 function util.gregor(el_id, relaxed)
2 ui.script{ script =
3 'gregor_addGui({' ..
4 'element_id: "' .. el_id .. '",' ..
5 'month_names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],' ..
6 'weekday_names: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],' ..
7 'week_mode: "iso",' ..
8 'week_numbers: "left",' ..
9 (relaxed and 'relaxed: true,' or '') ..
10 '});'
11 }
12 end

Impressum / About Us