liquid_feedback_frontend
diff app/main/initiative/_show.lua @ 898:ae9ab3edff89
Added polling support
author | bsw |
---|---|
date | Mon Aug 20 03:54:20 2012 +0200 (2012-08-20) |
parents | ea3d3757ddc3 |
children | 319161d5a904 |
line diff
1.1 --- a/app/main/initiative/_show.lua Mon Aug 20 03:53:55 2012 +0200 1.2 +++ b/app/main/initiative/_show.lua Mon Aug 20 03:54:20 2012 +0200 1.3 @@ -53,7 +53,13 @@ 1.4 1.5 util.help("initiative.show") 1.6 1.7 -ui.container{ attr = { class = "initiative_head" }, content = function() 1.8 +local class = "initiative_head" 1.9 + 1.10 +if initiative.polling then 1.11 + class = class .. " polling" 1.12 +end 1.13 + 1.14 +ui.container{ attr = { class = class }, content = function() 1.15 1.16 local text = _("Initiative i#{id}: #{name}", { id = initiative.id, name = initiative.name }) 1.17 if show_as_head then