AGM Status
$!{lg.name} · $!{statusplan.name} (id $statusplan.id)
· live
#if(!$only || $only == "kpi")
#set($kponline = $testbench.getActiveUserCount($lg.id))
#set($kpoffline = $testbench.getOfflineUserCount($lg.id))
#set($kpproxycounts = $testbench.getOnlineProxyCounts($lg.id))
#set($kpproxies = 0)
#foreach($vc in $kpproxycounts.keySet())
#set($kpproxies = $kpproxies + $kpproxycounts.get($vc))
#end
#set($kproster = 0)
#if($students)
#set($kproster = $students.size())
#end
#set($kpvotes = 0)
#set($kptexts = 0)
#foreach($kpentry in $statusplan.getPlanEntries())
#if($kpentry.type == "question")
#set($kpq = $testbench.getQuestion($kpentry.questionid))
#if($kpq && ($kpq.questiontype == "proxyvote" || $kpq.questiontype == "multiplechoice"))
#set($kpvotes = $kpvotes + 1)
#elseif($kpq && ($kpq.questiontype == "longanswer" || $kpq.questiontype == "textfield" || $kpq.questiontype == "motion"))
#set($kptexts = $kptexts + 1)
#end
#end
#end
$kpproxies
Proxies total (online)
$kpvotes
Votes · $kptexts text
#foreach($vc in $kpproxycounts.keySet())
$kpproxycounts.get($vc)
$vc proxies (online)
#end
#end