liquid_feedback_frontend
diff app/main/initiative/_list.lua @ 3:768faea1096d
Version alpha4
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
author | bsw |
---|---|
date | Mon Nov 30 12:00:00 2009 +0100 (2009-11-30) |
parents | 5c601807d397 |
children | 80c215dbf076 |
line diff
1.1 --- a/app/main/initiative/_list.lua Mon Nov 23 12:00:00 2009 +0100 1.2 +++ b/app/main/initiative/_list.lua Mon Nov 30 12:00:00 2009 +0100 1.3 @@ -55,7 +55,13 @@ 1.4 columns[#columns+1] = { 1.5 content = function(record) 1.6 if record.issue.accepted and record.issue.closed and record.issue.ranks_available then 1.7 - ui.field.rank{ value = record.rank } 1.8 + ui.field.rank{ attr = { class = "rank" }, value = record.rank } 1.9 + end 1.10 + end 1.11 + } 1.12 + columns[#columns+1] = { 1.13 + content = function(record) 1.14 + if record.issue.accepted and record.issue.closed and record.issue.ranks_available then 1.15 if record.negative_votes and record.positive_votes then 1.16 local max_value = record.issue.voter_count 1.17 ui.bargraph{