liquid_feedback_frontend
diff app/main/initiative/_list_element.lua @ 414:699b9fa7bc36
Integrated new event system, splitted issues in open/closed, changed navigation
| author | bsw |
|---|---|
| date | Sat Mar 10 16:57:49 2012 +0100 (2012-03-10) |
| parents | 89d32158bfd5 |
| children | 9582f42fd4bc |
line diff
1.1 --- a/app/main/initiative/_list_element.lua Sat Mar 10 13:54:14 2012 +0100 1.2 +++ b/app/main/initiative/_list_element.lua Sat Mar 10 16:57:49 2012 +0100 1.3 @@ -9,8 +9,10 @@ 1.4 and initiative.issue.ranks_available or initiative.admitted == false 1.5 then 1.6 ui.field.rank{ attr = { class = "rank" }, value = initiative.rank, eligible = initiative.eligible } 1.7 + elseif not initiative.issue.closed then 1.8 + ui.image{ static = "icons/16/script.png" } 1.9 else 1.10 - ui.image{ static = "icons/16/script.png" } 1.11 + ui.image{ static = "icons/16/cross.png" } 1.12 end 1.13 end } 1.14