liquid_feedback_frontend

changeset 1659:4b74a177884b

Do not show interest add button when issue is cancelled
author bsw
date Sun Feb 14 13:29:56 2021 +0100 (2021-02-14)
parents c08690678b2d
children cbce4491c93e
files app/main/delegation/_info.lua
line diff
     1.1 --- a/app/main/delegation/_info.lua	Sun Feb 14 13:27:21 2021 +0100
     1.2 +++ b/app/main/delegation/_info.lua	Sun Feb 14 13:29:56 2021 +0100
     1.3 @@ -183,7 +183,7 @@
     1.4          ui.tag { content = _"you voted" }
     1.5        end
     1.6      }
     1.7 -  elseif not issue.half_frozen and not info.own_participation then
     1.8 +  elseif not issue.half_frozen and not issue.closed and not info.own_participation then
     1.9      ui.link{
    1.10        attr = {
    1.11          id = "issue_" .. issue.id .. "_interest_link",
    1.12 @@ -203,7 +203,7 @@
    1.13          ui.tag{ tag = "i", attr = { id = "issue_" .. issue.id .. "_interest_icon", class = "material-icons" }, content = "star_outline" }
    1.14        end
    1.15      }
    1.16 -  elseif not issue.half_frozen and info.own_participation then
    1.17 +  elseif not issue.half_frozen and not issue.closed and info.own_participation then
    1.18      ui.link{
    1.19        attr = {
    1.20          id = "issue_" .. issue.id .. "_interest_link",

Impressum / About Us