liquid_feedback_frontend

changeset 1:dd0109e81922 alpha2

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
files app/main/suggestion/_list.lua config/default.lua
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,
     2.1 --- a/config/default.lua	Wed Nov 18 12:00:00 2009 +0100
     2.2 +++ b/config/default.lua	Wed Nov 18 12:00:00 2009 +0100
     2.3 @@ -1,5 +1,5 @@
     2.4  config.app_name = "LiquidFeedback"
     2.5 -config.app_version = "alpha1"
     2.6 +config.app_version = "alpha2"
     2.7  
     2.8  config.app_title = config.app_name .. " (" .. request.get_config_name() .. " environment)"
     2.9  

Impressum / About Us