liquid_feedback_frontend

diff app/main/issue/_show_vote_later_box.lua @ 19:00d1004545f1

Dynamic interface using XMLHttpRequests, and many other changes

Bugfixes:
- Only allow voting on admitted initiatives
- Repaired issue search
- Don't display delegations for closed issues on member page
- Don't show revoke link in initiative, when issue is already half_frozen
- Localization for voting JavaScript
- Display author of suggestions

Disclosure of voting data after voting is finished:
- Possibility to inspect every ballot including preferences
- Show number of voters preferring one initiative to another initiative

Interface behaviour changes:
- Reversed default order of drafts
- Default order of suggestions changed
- Show new drafts of initiatives only once per day in timeline

Accessibility:
- Barrier-free voting implemented
- POST links are now accessible without JavaScript
- Changed gray for unsatisfied supporters in bar graph to a lighter gray

Other interface improvements:
- Optical enhancements
- Dynamic interface using XMLHttpRequests
- Show usage terms in about section
- Show own membership in area listing
- Show uninformed supporters greyed out and marked with yellow question mark
- Warning box in non-admitted initiatives
- When voted, don't display voting notice and change label of voting link
- Show object counts in more tabulator heads
- Enlarged member statement input field

Miscellaneous:
- Code cleanup
- Added README file containing installation instructions
- Use new WebMCP function ui.filters{...} instead of own ui.filter and ui.order functions
author bsw/jbe
date Sat Feb 20 22:10:31 2010 +0100 (2010-02-20)
parents 559c6be0e1e9
children
line diff
     1.1 --- a/app/main/issue/_show_vote_later_box.lua	Tue Feb 02 00:31:06 2010 +0100
     1.2 +++ b/app/main/issue/_show_vote_later_box.lua	Sat Feb 20 22:10:31 2010 +0100
     1.3 @@ -48,10 +48,10 @@
     1.4                end
     1.5              }
     1.6              ui.link{
     1.7 -              content = _"Remove my request to vote later",
     1.8 -              module = "interest",
     1.9 -              action = "update_voting_requested",
    1.10 -              params = { issue_id = issue.id, voting_requested = nil },
    1.11 +              text    = _"Remove my request to vote later",
    1.12 +              module  = "interest",
    1.13 +              action  = "update_voting_requested",
    1.14 +              params  = { issue_id = issue.id, voting_requested = nil },
    1.15                routing = { default = { mode = "redirect", module = "issue", view = "show", id = issue.id } }
    1.16              }
    1.17              slot.put("<br />")
    1.18 @@ -63,10 +63,8 @@
    1.19  else
    1.20    if not issue.closed and not issue.half_frozen then
    1.21      ui.link{
    1.22 -      content = function()
    1.23 -        ui.image{ static = "icons/16/clock_play.png" }
    1.24 -        slot.put(_"Vote later")
    1.25 -      end,
    1.26 +      image  = { static = "icons/16/clock_play.png" },
    1.27 +      text   = _"Vote later",
    1.28        module = "interest",
    1.29        action = "update_voting_requested",
    1.30        params = {

Impressum / About Us