liquid_feedback_frontend

changeset 178:bf799314a20f

Highlight the current member itself too
author bsw
date Sun Oct 31 20:12:20 2010 +0100 (2010-10-31)
parents b9c8503feff7
children b363a2407d8d
files app/main/member/_show_thumb.lua
line diff
     1.1 --- a/app/main/member/_show_thumb.lua	Sun Oct 31 19:54:07 2010 +0100
     1.2 +++ b/app/main/member/_show_thumb.lua	Sun Oct 31 20:12:20 2010 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4    container_class = container_class .. " not_informed"
     1.5  end
     1.6  
     1.7 -local in_delegation_chain = false  
     1.8 +local in_delegation_chain = false 
     1.9  if member.delegate_member_ids then
    1.10    for member_id in member.delegate_member_ids:gmatch("(%w+)") do
    1.11      if tonumber(member_id) == member.id then
    1.12 @@ -30,7 +30,7 @@
    1.13    end
    1.14  end
    1.15  
    1.16 -if in_delegation_chain then
    1.17 +if in_delegation_chain or member.id == app.session.member_id then
    1.18    container_class = container_class .. " in_delegation_chain"
    1.19  end
    1.20  

Impressum / About Us