liquid_feedback_frontend

changeset 1823:a3ca8d5c8c79

Do not offer to save the member itself as a contact
author bsw
date Thu Feb 03 11:34:28 2022 +0100 (2022-02-03)
parents d1ef89bd250c
children de3770da915e
files app/main/member/_show_thumb.lua
line diff
     1.1 --- a/app/main/member/_show_thumb.lua	Wed Jan 26 01:46:10 2022 +0100
     1.2 +++ b/app/main/member/_show_thumb.lua	Thu Feb 03 11:34:28 2022 +0100
     1.3 @@ -176,7 +176,7 @@
     1.4          ui.link{ attr = { class = "mdl-menu__link" }, content = _"show profile", module = "member", view = "show", id = member.id }
     1.5        end }
     1.6      end
     1.7 -    if app.session.member_id then
     1.8 +    if app.session.member_id and app.session.member_id ~= member.id then
     1.9        ui.tag{ tag = "li", attr = { class = "mdl-menu__item" }, content = function()
    1.10          ui.link{
    1.11            attr = { class = "mdl-menu__link" },

Impressum / About Us