liquid_feedback_frontend

changeset 1855:080f4112b8a9

Show new suggestion button only during admission and discussion
author bsw
date Thu Mar 24 10:37:44 2022 +0100 (2022-03-24)
parents 220653575083
children 7d60ede7005e
files app/main/initiative/_suggestions.lua
line diff
     1.1 --- a/app/main/initiative/_suggestions.lua	Tue Mar 22 13:55:02 2022 +0100
     1.2 +++ b/app/main/initiative/_suggestions.lua	Thu Mar 24 10:37:44 2022 +0100
     1.3 @@ -140,7 +140,7 @@
     1.4  
     1.5      ui.container { content = _"written and rated by the supportes of this initiative to improve the proposal and its reasons" }
     1.6  
     1.7 -    if app.session.member_id and initiative.member_info.supported and not active_trustee_id then
     1.8 +    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
     1.9        ui.link {
    1.10          attr = {
    1.11              style = "margin-top: 1ex;",

Impressum / About Us