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

Reg | Name | First name | Country | Club | Rank ## TableSort bug which inverts specified sort... | Rating | Participation
#foreach($part in $parts)
| $part.name | $part.firstname | $part.country.toUpperCase() | $part.club | #rank($part.rank)#if($part.mmsCorrection) ($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
$tour.country.toUpperCase()
AGA
EGF
FFG
Family name
Given name
Country
Club
Rank
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))
#foreach($part in $mmsMap.get(30 + $tour.pairing.mmBar - 1))
$part.name $part.firstname#rank($part.rank) $part.country
#end
#foreach($part in $mmsMap.get(30 + $tour.pairing.mmBar))
$part.name $part.firstname#rank($part.rank) $part.country
#end
#foreach($part in $mmsMap.get(30 + $tour.pairing.mmBar + 1))
$part.name $part.firstname#rank($part.rank) $part.country
#end
#end #[[
]]#