# HG changeset patch # User bsw # Date 1331580451 -3600 # Node ID 0e25d0459b5f8cab8e30e4e08bbd1c188d89244f # Parent f44df8e5ea18dd43c134c662eccd6924fa4636a5 Do not show avatars public diff -r f44df8e5ea18 -r 0e25d0459b5f app/main/initiative/_show.lua --- a/app/main/initiative/_show.lua Mon Mar 12 18:46:30 2012 +0100 +++ b/app/main/initiative/_show.lua Mon Mar 12 20:27:31 2012 +0100 @@ -39,23 +39,25 @@ content = function() for i, initiator in ipairs(initiators) do slot.put(" ") - ui.link{ - content = function () - execute.view{ - module = "member_image", - view = "_show", - params = { - member = initiator, - image_type = "avatar", - show_dummy = true, - class = "micro_avatar", - popup_text = text + if app.session.member_id then + ui.link{ + content = function () + execute.view{ + module = "member_image", + view = "_show", + params = { + member = initiator, + image_type = "avatar", + show_dummy = true, + class = "micro_avatar", + popup_text = text + } } - } - end, - module = "member", view = "show", id = initiator.id - } - slot.put(" ") + end, + module = "member", view = "show", id = initiator.id + } + slot.put(" ") + end ui.link{ text = initiator.name, module = "member", view = "show", id = initiator.id