# HG changeset patch # User bsw # Date 1612127533 -3600 # Node ID 52545dba4205dc9c97b55396b39ad553451f764e # Parent 6b203b43bef3ea1df98c648138a3236a606165f3 Removed member image of delegatee from sidebar diff -r 6b203b43bef3 -r 52545dba4205 app/main/area/_sidebar_whatcanido.lua --- a/app/main/area/_sidebar_whatcanido.lua Sun Jan 31 22:04:30 2021 +0100 +++ b/app/main/area/_sidebar_whatcanido.lua Sun Jan 31 22:12:13 2021 +0100 @@ -106,18 +106,6 @@ if not area.delegation_info.first_trustee_id then ui.tag{ content = _"I want to delegate this subject area" } else - ui.container { attr = { class = "right" }, content = function() - local member = Member:by_id(area.delegation_info.first_trustee_id) - execute.view{ - module = "member_image", - view = "_show", - params = { - member = member, - image_type = "avatar", - show_dummy = true - } - } - end } ui.tag{ content = _"You delegated this subject area" } end diff -r 6b203b43bef3 -r 52545dba4205 app/main/unit/_sidebar_whatcanido.lua --- a/app/main/unit/_sidebar_whatcanido.lua Sun Jan 31 22:04:30 2021 +0100 +++ b/app/main/unit/_sidebar_whatcanido.lua Sun Jan 31 22:12:13 2021 +0100 @@ -44,18 +44,6 @@ end } end } else - ui.container { attr = { class = "right" }, content = function() - local member = Member:by_id(unit.delegation_info.first_trustee_id) - execute.view{ - module = "member_image", - view = "_show", - params = { - member = member, - image_type = "avatar", - show_dummy = true - } - } - end } ui.tag{ content = _"You delegated this unit" } ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()