# HG changeset patch # User bsw # Date 1288552340 -3600 # Node ID bf799314a20f28b84b1e8a295c5dbb624340602d # Parent b9c8503feff786ff84d7110afdf264eddcd68029 Highlight the current member itself too diff -r b9c8503feff7 -r bf799314a20f app/main/member/_show_thumb.lua --- a/app/main/member/_show_thumb.lua Sun Oct 31 19:54:07 2010 +0100 +++ b/app/main/member/_show_thumb.lua Sun Oct 31 20:12:20 2010 +0100 @@ -21,7 +21,7 @@ container_class = container_class .. " not_informed" end -local in_delegation_chain = false +local in_delegation_chain = false if member.delegate_member_ids then for member_id in member.delegate_member_ids:gmatch("(%w+)") do if tonumber(member_id) == member.id then @@ -30,7 +30,7 @@ end end -if in_delegation_chain then +if in_delegation_chain or member.id == app.session.member_id then container_class = container_class .. " in_delegation_chain" end