liquid_feedback_frontend
view app/main/index/_updated_drafts.lua @ 73:5e06cbec2f68
Serveral correction of typos and mistranslations to Esperanto.
author | Thomas Wuerfel |
---|---|
date | Wed May 26 15:41:52 2010 +0200 (2010-05-26) |
parents | 4f39f0a0d5b5 |
children | 733f65c0c0a0 |
line source
1 local initiatives_selector = Initiative:new_selector()
2 :join("issue", "_issue_state", "_issue_state.id = initiative.issue_id AND _issue_state.closed ISNULL AND _issue_state.fully_frozen ISNULL")
3 :join("current_draft", "_current_draft", "_current_draft.initiative_id = initiative.id")
4 :join("supporter", "supporter", { "supporter.member_id = ? AND supporter.initiative_id = initiative.id AND supporter.draft_id < _current_draft.id", app.session.member_id })
6 if initiatives_selector:count() > 0 then
7 ui.container{
8 attr = { style = "font-weight: bold;" },
9 content = _"Open initiatives you are supporting which has been updated their draft:"
10 }
12 execute.view{
13 module = "initiative",
14 view = "_list",
15 params = { initiatives_selector = initiatives_selector }
16 }
17 end