liquid_feedback_frontend
diff app/main/initiative/show_support.lua @ 275:fc14e76afe31
Made filter better useable
| author | bsw |
|---|---|
| date | Sun Feb 12 13:42:08 2012 +0100 (2012-02-12) |
| parents | 7196685f9dd7 |
| children | bde068b37608 |
line diff
1.1 --- a/app/main/initiative/show_support.lua Sun Feb 12 12:20:19 2012 +0100 1.2 +++ b/app/main/initiative/show_support.lua Sun Feb 12 13:42:08 2012 +0100 1.3 @@ -44,14 +44,14 @@ 1.4 if not initiative.issue.fully_frozen and not initiative.issue.closed then 1.5 if supporter then 1.6 if not supporter:has_critical_opinion() then 1.7 - ui.tag{ content = function() 1.8 + ui.tag{ attr = { class = "supporter" }, content = function() 1.9 ui.image{ 1.10 static = "icons/16/thumb_up_green.png" 1.11 } 1.12 slot.put(_"Your are supporter") 1.13 end } 1.14 else 1.15 - ui.tag{ content = function() 1.16 + ui.tag{ attr = { class = "potential_supporter" }, content = function() 1.17 ui.image{ 1.18 static = "icons/16/thumb_up.png" 1.19 }