# HG changeset patch # User bsw # Date 1648114664 -3600 # Node ID 080f4112b8a9019c172841c93d47d716515697e8 # Parent 22065357508324e85c8259302de74d67cad67542 Show new suggestion button only during admission and discussion diff -r 220653575083 -r 080f4112b8a9 app/main/initiative/_suggestions.lua --- a/app/main/initiative/_suggestions.lua Tue Mar 22 13:55:02 2022 +0100 +++ b/app/main/initiative/_suggestions.lua Thu Mar 24 10:37:44 2022 +0100 @@ -140,7 +140,7 @@ ui.container { content = _"written and rated by the supportes of this initiative to improve the proposal and its reasons" } - if app.session.member_id and initiative.member_info.supported and not active_trustee_id then + if (initiative.issue.state == "admission" or initiative.issue.state == "discussion") and app.session.member_id and initiative.member_info.supported and not active_trustee_id then ui.link { attr = { style = "margin-top: 1ex;",