liquid_feedback_frontend

diff app/main/issue/_list.lua @ 345:7d6a3c411f99

Code cleanup (removed code not needed any more)
author bsw
date Tue Feb 28 22:27:19 2012 +0100 (2012-02-28)
parents 2e404166c9a1
children 3f2ae4f7a045
line diff
     1.1 --- a/app/main/issue/_list.lua	Tue Feb 28 22:14:13 2012 +0100
     1.2 +++ b/app/main/issue/_list.lua	Tue Feb 28 22:27:19 2012 +0100
     1.3 @@ -185,30 +185,3 @@
     1.4  else
     1.5    ui.filters(filters)
     1.6  end
     1.7 -
     1.8 ---[[
     1.9 -if param.get("legend", atom.boolean) ~= false then
    1.10 -  local filter = param.get_all_cgi().filter
    1.11 -  if not filter or filter == "any" or filter ~= "finished" then
    1.12 -    ui.bargraph_legend{
    1.13 -      width = 25,
    1.14 -      bars = {
    1.15 -        { color = "#0a0", label = _"Supporter" },
    1.16 -        { color = "#777", label = _"Potential supporter" },
    1.17 -        { color = "#ddd", label = _"No support at all" },
    1.18 -      }
    1.19 -    }
    1.20 -  end
    1.21 -  if not filter or filter == "any" or filter == "finished" then
    1.22 -    ui.bargraph_legend{
    1.23 -      width = 25,
    1.24 -      bars = {
    1.25 -        { color = "#0a0", label = _"Yes" },
    1.26 -        { color = "#aaa", label = _"Abstention" },
    1.27 -        { color = "#a00", label = _"No" },
    1.28 -      }
    1.29 -    }
    1.30 -  end
    1.31 -end
    1.32 -
    1.33 ---]]
    1.34 \ No newline at end of file

Impressum / About Us