liquid_feedback_frontend

diff app/main/suggestion/_list.lua @ 1:dd0109e81922

Version alpha2

Minor bug in bargraph output for suggestions fixed
author bsw
date Wed Nov 18 12:00:00 2009 +0100 (2009-11-18)
parents 3bfb2fcf7ab9
children 5c601807d397
line diff
     1.1 --- a/app/main/suggestion/_list.lua	Wed Nov 18 12:00:00 2009 +0100
     1.2 +++ b/app/main/suggestion/_list.lua	Wed Nov 18 12:00:00 2009 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4            label = _"Support",
     1.5            content = function(record)
     1.6              if record.minus2_unfulfilled_count then
     1.7 -              local max_value = record.initiative.supporter_count
     1.8 +              local max_value = record.initiative.issue.population
     1.9                ui.bargraph{
    1.10                  max_value = max_value,
    1.11                  width = 50,
    1.12 @@ -105,7 +105,7 @@
    1.13            label = _"Not fullfilled",
    1.14            content = function(record)
    1.15              if record.minus2_unfulfilled_count then
    1.16 -              local max_value = record.initiative.supporter_count
    1.17 +              local max_value = record.initiative.issue.population
    1.18                ui.bargraph{
    1.19                  max_value = max_value,
    1.20                  width = 50,
    1.21 @@ -125,7 +125,7 @@
    1.22            label = _"Fullfilled",
    1.23            content = function(record)
    1.24              if record.minus2_fulfilled_count then
    1.25 -              local max_value = record.initiative.supporter_count
    1.26 +              local max_value = record.initiative.issue.population
    1.27                ui.bargraph{
    1.28                  max_value = max_value,
    1.29                  width = 50,

Impressum / About Us