#set($parts = $api.get("tour/${params.id}/part")) #set($pmap = $utils.toMap($parts))
$parts.size() participants, $utils.countFinals($parts) confirmed.

#if($tour.country == 'FR')
#else
#end
## TableSort bug which inverts specified sort...
#foreach($part in $parts)
Reg | Name | First name | Country | Club | FFG | PIN | Rank | Rating | Participation
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
#if($tour.country == 'FR')
#else
#end

$part.name

$part.firstname

$part.country.toUpperCase()

$part.club

$!part.ffg

$!part.egf

#rank($part.rank)#if($part.mmsCorrection) (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)#end

$part.rating

#foreach($round in [1..$tour.rounds]) ## CB TODO - upstream json parsing should not give longs here, should it? #if($part.skip && $part.skip.contains($round.longValue())) $round #else $round #end #end

#end

#if($tour.pairing.type == 'MAC_MAHON')
#end
#if($tour.country)
$tour.country.toUpperCase()
#end
#* Disabled
AGA
*#
EGF
FFG
Family name
Given name
Country
Club
Rating
Rankinitialized from rating
Final ?
Participation #foreach($r in [1..$tour.rounds])
R${r}
#end
#if($tour.pairing.type == 'MAC_MAHON') #set($mmbase = $api.get("tour/${params.id}/standings/0")) #if($mmbase.isObject() && ($mmbase.error || $mmbase.message)) #if($mmbase.error) #set($error = $mmbase.error) #else #set($error = $mmbase.message) #end
#set($mmbase = []) #end #set($mmsMap = $utils.getMmsMap($mmbase))
#set($underGroup = $mmsMap.get(30 + $tour.pairing.mmBar - 1))
#foreach($part in $underGroup)
$part.name $part.firstname#rank($part.rank) $part.country $part.rating
#end
#set($topGroup = $mmsMap.get(30 + $tour.pairing.mmBar))
#foreach($part in $topGroup)
$part.name $part.firstname#rank($part.rank) $part.country $part.rating
#end
#set($superGroup = $mmsMap.get(30 + $tour.pairing.mmBar + 1))
#foreach($part in $superGroup)
$part.name $part.firstname#rank($part.rank) $part.country $part.rating
#end
#end
Drop changes?
Unregister this player?
#[[
]]#