liquid_feedback_frontend
annotate app/main/vote/show_incoming.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
author | bsw/jbe |
---|---|
date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) |
parents | 77d58efe99fd |
children | 256d9be75916 |
rev | line source |
---|---|
bsw/jbe@6 | 1 local initiative = Initiative:by_id(param.get("initiative_id", atom.integer)) |
bsw/jbe@6 | 2 local issue = initiative.issue |
bsw/jbe@6 | 3 local member = Member:by_id(param.get("member_id", atom.integer)) |
bsw/jbe@6 | 4 |
bsw/jbe@6 | 5 local members_selector = Member:new_selector() |
bsw/jbe@6 | 6 :join("delegating_voter", nil, "delegating_voter.member_id = member.id") |
bsw/jbe@6 | 7 :add_where{ "delegating_voter.issue_id = ?", issue.id } |
bsw/jbe@6 | 8 :add_where{ "delegating_voter.delegate_member_ids[1] = ?", member.id } |
bsw@11 | 9 :add_field("delegating_voter.weight", "voter_weight") |
bsw/jbe@6 | 10 |
bsw/jbe@6 | 11 execute.view{ |
bsw/jbe@6 | 12 module = "member", |
bsw/jbe@6 | 13 view = "_list", |
bsw@11 | 14 params = { |
bsw/jbe@6 | 15 members_selector = members_selector, |
bsw@11 | 16 initiative = initiative, |
bsw/jbe@6 | 17 trustee = member |
bsw/jbe@6 | 18 } |
bsw/jbe@6 | 19 } |