liquid_feedback_frontend

diff app/main/member/_show_thumb.lua @ 879:ea3d3757ddc3

Added support for voting comments
author bsw
date Mon Aug 20 01:00:09 2012 +0200 (2012-08-20)
parents 1641f0218177
children 701a5cf6b067
line diff
     1.1 --- a/app/main/member/_show_thumb.lua	Sat Aug 18 23:22:20 2012 +0200
     1.2 +++ b/app/main/member/_show_thumb.lua	Mon Aug 20 01:00:09 2012 +0200
     1.3 @@ -59,6 +59,16 @@
     1.4                member_id = member.id,
     1.5              },
     1.6              content = function()
     1.7 +              if (member.voter_comment) then
     1.8 +                ui.image{
     1.9 +                  attr = { 
    1.10 +                    alt   = _"Voting comment available",
    1.11 +                    title = _"Voting comment available"
    1.12 +                  },
    1.13 +                  static = "icons/16/comment.png"
    1.14 +                }
    1.15 +              end
    1.16 +
    1.17                if member.grade > 0 then
    1.18                  ui.image{
    1.19                    attr = { 
    1.20 @@ -121,7 +131,7 @@
    1.21              }
    1.22            }
    1.23          end
    1.24 -
    1.25 +        
    1.26          if initiator and initiator.accepted then
    1.27            if member.accepted == nil then
    1.28              slot.put(_"Invited")

Impressum / About Us