liquid_feedback_frontend
diff app/main/member/_show_thumb.lua @ 529:5ca9de94cb13
Delegation preview when setting delegation, optical enhancements, typos fixed
| author | bsw |
|---|---|
| date | Sun May 20 19:43:01 2012 +0200 (2012-05-20) |
| parents | dac08fce1ab7 |
| children | ce8cba9d88bb |
line diff
1.1 --- a/app/main/member/_show_thumb.lua Fri May 18 21:03:10 2012 +0200 1.2 +++ b/app/main/member/_show_thumb.lua Sun May 20 19:43:01 2012 +0200 1.3 @@ -41,8 +41,9 @@ 1.4 attr = { class = "flags" }, 1.5 content = function() 1.6 1.7 - if not member.activated then 1.8 - local text = _"Member is deactivated" 1.9 + if not member.active then 1.10 + local text = _"inactive" 1.11 + ui.tag{ content = text } 1.12 ui.image{ 1.13 attr = { alt = text, title = text }, 1.14 static = "icons/16/cross.png" 1.15 @@ -180,9 +181,7 @@ 1.16 } 1.17 ui.container{ 1.18 attr = { class = "member_name" }, 1.19 - content = function() 1.20 - slot.put(name) 1.21 - end 1.22 + content = name 1.23 } 1.24 end 1.25 }