# HG changeset patch # User bsw # Date 1613305796 -3600 # Node ID 4b74a177884bfbd36fe7b0ba756fe3c9992d49cc # Parent c08690678b2d6b0c5b3b55a12b04a9518187fbc3 Do not show interest add button when issue is cancelled diff -r c08690678b2d -r 4b74a177884b app/main/delegation/_info.lua --- a/app/main/delegation/_info.lua Sun Feb 14 13:27:21 2021 +0100 +++ b/app/main/delegation/_info.lua Sun Feb 14 13:29:56 2021 +0100 @@ -183,7 +183,7 @@ ui.tag { content = _"you voted" } end } - elseif not issue.half_frozen and not info.own_participation then + elseif not issue.half_frozen and not issue.closed and not info.own_participation then ui.link{ attr = { id = "issue_" .. issue.id .. "_interest_link", @@ -203,7 +203,7 @@ ui.tag{ tag = "i", attr = { id = "issue_" .. issue.id .. "_interest_icon", class = "material-icons" }, content = "star_outline" } end } - elseif not issue.half_frozen and info.own_participation then + elseif not issue.half_frozen and not issue.closed and info.own_participation then ui.link{ attr = { id = "issue_" .. issue.id .. "_interest_link",