From 1765b2e8d63e0c79f24295f6a4403e22235d92df Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 19 Dec 2021 14:23:51 +0100 Subject: [PATCH 1/1] Change quorum (50 -> 15 votes) Change in config and templates: - result-single - result-multi Signed-off-by: Thomas Hochstein --- UVconfig.pm | 2 +- templates/result-multi | 2 +- templates/result-single | 2 +- usevote.cfg | 2 +- usevote.tpl.cfg | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/UVconfig.pm b/UVconfig.pm index c2a1629..67b0eee 100644 --- a/UVconfig.pm +++ b/UVconfig.pm @@ -94,7 +94,7 @@ sub read_config { ann_stimme => 'A\s*N\s*N\s*U\s*L\s*L\s*I\s*E\s*R\s*U\s*N\s*G', bdsg_confirm => 'JA', condition1 => '$yes>=2*$no', # twice as many yes as no - condition2 => '$yes>=50', # min 50 yes votes + condition2 => '$yes>=15', # min 15 yes votes prop_formula => '$yes/$no', tpl_ack_mail => 'ack-mail', tpl_bouncelist => 'bouncelist', diff --git a/templates/result-multi b/templates/result-multi index 01abd88..8c6cfba 100644 --- a/templates/result-multi +++ b/templates/result-multi @@ -14,7 +14,7 @@ Ergebnisse [$votename-first] Es wurden [$numvalid] gueltige Stimmen abgegeben. - Ja Nein : 2/3? >=50? : ang.? : Gruppe + Ja Nein : 2/3? >=15? : ang.? : Gruppe ---- ---- : ---- ----- : ----- : --------------------------------------- [@count|[$yes] [$no] : [?cond1| Ja |Nein] [?cond2| Ja |Nein] : [?result| Ja |Nein] : [$group-first] [@group-more| : : : [$line]\n]\n] diff --git a/templates/result-single b/templates/result-single index 8345efa..fdb3912 100644 --- a/templates/result-single +++ b/templates/result-single @@ -15,7 +15,7 @@ Es gab [$yes] Ja-Stimmen und [$no] Nein-Stimmen[?numabstain| bei [$numabstain] E [?numinvalid|[$numinvalid] Stimme(n) wurden als ungueltig gewertet.] Es wurde [?cond1|die|keine] 2/3-Mehrheit erreicht und es gingen [?cond2|mehr|weniger] als -50 Ja-Stimmen ein. Damit ist die [$votename-text-first] +15 Ja-Stimmen ein. Damit ist die [$votename-text-first] [@votename-text-more|[$line] |\n][?cond1|[?cond2|angenommen|abgelehnt]|abgelehnt]. Gegen dieses Ergebnis kann innerhalb einer Woche nach seiner diff --git a/usevote.cfg b/usevote.cfg index 4a8c8eb..9cd7642 100644 --- a/usevote.cfg +++ b/usevote.cfg @@ -75,7 +75,7 @@ multigroup = 1 # wird nur Bedingung 1 ausgewertet und kann z.B. auf "$yes>$no" gesetzt # werden. condition1 = $yes>=2*$no -condition2 = $yes>=50 +condition2 = $yes>=15 # Datei mit Musterwahlschein, wie er im CfV geposted wurde. Wird fuer # Vergleich mit ankommenden Wahlscheinen per "diff" genutzt. diff --git a/usevote.tpl.cfg b/usevote.tpl.cfg index 19f4c2a..fc91bee 100644 --- a/usevote.tpl.cfg +++ b/usevote.tpl.cfg @@ -80,6 +80,6 @@ multigroup = 1 # condition1 = $yes>=2*$no # condition2 = $yes>=50 condition1 = $yes>=2*$no -condition2 = $yes>=50 +condition2 = $yes>=15 mailcmd = /usr/sbin/sendmail -oi -oem -fbounce-LOCALPART@thh.votetaker.de -- -- 2.20.1