liquid_feedback_frontend
changeset 1755:9043f24d872b
Fixed text when issue failed 1st quorum
author | bsw |
---|---|
date | Wed Oct 13 15:19:36 2021 +0200 (2021-10-13) |
parents | 22a75f55ff48 |
children | 1e5d1bc961c4 |
files | app/main/initiative/_list.lua |
line diff
1.1 --- a/app/main/initiative/_list.lua Wed Oct 13 13:33:43 2021 +0200 1.2 +++ b/app/main/initiative/_list.lua Wed Oct 13 15:19:36 2021 +0200 1.3 @@ -40,7 +40,9 @@ 1.4 text = _"Competing initiatives in pairwise comparison to best initiative:" 1.5 end 1.6 end 1.7 - if group == "not_admitted" and initiative.issue.state ~= "canceled_no_initiative_admitted" then 1.8 + if group == "not_admitted" and initiative.issue.state == "canceled_issue_not_accepted" then 1.9 + text = _"Failed 1st quorum" 1.10 + elseif group == "not_admitted" and initiative.issue.state ~= "canceled_no_initiative_admitted" then 1.11 text = _("Competing initiatives failed the 2nd quorum (#{num}/#{den}):", { 1.12 num = initiative.issue.policy.initiative_quorum_num, 1.13 den = initiative.issue.policy.initiative_quorum_den