liquid_feedback_frontend
changeset 1599:52545dba4205
Removed member image of delegatee from sidebar
author | bsw |
---|---|
date | Sun Jan 31 22:12:13 2021 +0100 (2021-01-31) |
parents | 6b203b43bef3 |
children | d47d2b0cd7c2 |
files | app/main/area/_sidebar_whatcanido.lua app/main/unit/_sidebar_whatcanido.lua |
line diff
1.1 --- a/app/main/area/_sidebar_whatcanido.lua Sun Jan 31 22:04:30 2021 +0100 1.2 +++ b/app/main/area/_sidebar_whatcanido.lua Sun Jan 31 22:12:13 2021 +0100 1.3 @@ -106,18 +106,6 @@ 1.4 if not area.delegation_info.first_trustee_id then 1.5 ui.tag{ content = _"I want to delegate this subject area" } 1.6 else 1.7 - ui.container { attr = { class = "right" }, content = function() 1.8 - local member = Member:by_id(area.delegation_info.first_trustee_id) 1.9 - execute.view{ 1.10 - module = "member_image", 1.11 - view = "_show", 1.12 - params = { 1.13 - member = member, 1.14 - image_type = "avatar", 1.15 - show_dummy = true 1.16 - } 1.17 - } 1.18 - end } 1.19 ui.tag{ content = _"You delegated this subject area" } 1.20 end 1.21
2.1 --- a/app/main/unit/_sidebar_whatcanido.lua Sun Jan 31 22:04:30 2021 +0100 2.2 +++ b/app/main/unit/_sidebar_whatcanido.lua Sun Jan 31 22:12:13 2021 +0100 2.3 @@ -44,18 +44,6 @@ 2.4 end } 2.5 end } 2.6 else 2.7 - ui.container { attr = { class = "right" }, content = function() 2.8 - local member = Member:by_id(unit.delegation_info.first_trustee_id) 2.9 - execute.view{ 2.10 - module = "member_image", 2.11 - view = "_show", 2.12 - params = { 2.13 - member = member, 2.14 - image_type = "avatar", 2.15 - show_dummy = true 2.16 - } 2.17 - } 2.18 - end } 2.19 ui.tag{ content = _"You delegated this unit" } 2.20 2.21 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()