liquid_feedback_frontend
changeset 336:4cdf615ff358
Correctly interpret initiative.winner when showing approved information in initiative view (fix)
author | bsw |
---|---|
date | Tue Feb 28 18:47:00 2012 +0100 (2012-02-28) |
parents | 4608babc79f2 |
children | 4f8058e4d7db |
files | app/main/initiative/_show.lua |
line diff
1.1 --- a/app/main/initiative/_show.lua Tue Feb 28 18:46:10 2012 +0100 1.2 +++ b/app/main/initiative/_show.lua Tue Feb 28 18:47:00 2012 +0100 1.3 @@ -128,7 +128,7 @@ 1.4 1.5 1.6 if initiative.issue.ranks_available and initiative.admitted then 1.7 - local class = initiative.rank == 1 and "admitted_info" or "not_admitted_info" 1.8 + local class = initiative.winner and "admitted_info" or "not_admitted_info" 1.9 ui.container{ 1.10 attr = { class = class }, 1.11 content = function()