liquid_feedback_frontend
diff app/main/lf2/_initiative.lua @ 215:1dab81353eb1
More enhancements for second generation frontend
| author | bsw |
|---|---|
| date | Sat Mar 05 15:34:17 2011 +0100 (2011-03-05) |
| parents | 4993b71b383f |
| children | 4f6e6b213fb8 |
line diff
1.1 --- a/app/main/lf2/_initiative.lua Thu Mar 03 23:47:35 2011 +0100 1.2 +++ b/app/main/lf2/_initiative.lua Sat Mar 05 15:34:17 2011 +0100 1.3 @@ -45,32 +45,9 @@ 1.4 end 1.5 end 1.6 1.7 -if initiative.issue.closed then 1.8 - if initiative.issue.accepted then 1.9 - if initiative.admitted then 1.10 - if initiative.agreed then 1.11 - if initiative.rank == 1 then 1.12 - ui.image{ static = "lf2/icon_award_gold.png" } 1.13 - else 1.14 - ui.image{ static = "lf2/icon_award_silver.png" } 1.15 - end 1.16 - slot.put(" ") 1.17 - ui.tag{ content = initiative.rank } 1.18 - else 1.19 - ui.image{ attr = { title = _"Initiative not agreed" }, static = "lf2/icon_cross.png" } 1.20 - end 1.21 - else 1.22 - ui.image{ attr = { title = _"Initiative not admitted" }, static = "lf2/icon_cross.png" } 1.23 - end 1.24 - else 1.25 - ui.image{ attr = { title = _"Issue not accepted" }, static = "lf2/icon_cross.png" } 1.26 - end 1.27 - slot.put(" ") 1.28 -end 1.29 - 1.30 ui.link{ 1.31 module = "lf2", view = "initiative", id = initiative.id, 1.32 - params = { tab = "draft" }, attr = { class = "name" }, 1.33 + attr = { class = "name" }, 1.34 text = initiative.name 1.35 } 1.36