liquid_feedback_frontend
diff app/main/member/_show_thumb.lua @ 606:c4b878748205
Fixed errors in search
| author | bsw |
|---|---|
| date | Sun Jun 24 23:16:15 2012 +0200 (2012-06-24) |
| parents | ce8cba9d88bb |
| children | 1641f0218177 |
line diff
1.1 --- a/app/main/member/_show_thumb.lua Sun Jun 24 23:08:24 2012 +0200 1.2 +++ b/app/main/member/_show_thumb.lua Sun Jun 24 23:16:15 2012 +0200 1.3 @@ -5,11 +5,11 @@ 1.4 local initiative = param.get("initiative", "table") 1.5 local trustee = param.get("trustee", "table") 1.6 1.7 -local name 1.8 +local name_html 1.9 if member.name_highlighted then 1.10 - name = encode.highlight(member.name_highlighted) 1.11 + name_html = encode.highlight(member.name_highlighted) 1.12 else 1.13 - name = encode.html(member.name) 1.14 + name_html = encode.html(member.name) 1.15 end 1.16 1.17 local container_class = "member_thumb" 1.18 @@ -171,7 +171,7 @@ 1.19 } 1.20 ui.container{ 1.21 attr = { class = "member_name" }, 1.22 - content = name 1.23 + content = function() slot.put(name_html) end 1.24 } 1.25 end 1.26 }