#set($parts = $api.get("tour/${params.id}/part")) #if($tour.type == 'INDIVIDUAL' || $tour.type.startsWith('TEAM')) #set($pmap = $utils.toMap($parts)) #else #set($teams = $api.get("tour/${params.id}/team")) #set($pmap = $utils.toMap($teams)) #end ## Team players do not have an individual MMS #if($tour.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON') #set($mmbase = $api.get("tour/${params.id}/standings/0?include_preliminary=true")) #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($mmsPlayersMap = $utils.getMmsPlayersMap($mmbase)) #end
$parts.size() participants, $utils.countFinals($parts) confirmed.

Reg | Name | First name | Country | Club #if($utils.showRatings('egf', $tour.country.toLowerCase())) | PIN #end #if($utils.showRatings('ffg', $tour.country.toLowerCase())) | FFG #end | Rank ## TableSort bug which inverts specified sort... | Rating #if($tour.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON') | MMS #end | Participation
#foreach($part in $parts)
| $part.name | $part.firstname | $part.country.toUpperCase() | $part.club #if($utils.showRatings('egf', $tour.country.toLowerCase())) | $!part.egf #end #if($utils.showRatings('ffg', $tour.country.toLowerCase())) | $!part.ffg #end ## display MMS correction on the screen, but not when printed | #rank($part.rank)#if($part.mmsCorrection) (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)#end | $part.rating #if($tour.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON') | $!mmsPlayersMap[$part.id] #end | #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.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON')
#end
#if($tour.country)
$tour.country.toUpperCase()
#end #set($needleWidth = 12) #if($utils.displayRatings('egf', $tour.country.toLowerCase())) #set($needleWidth = $needleWidth - 2) #end #if($utils.displayRatings('ffg', $tour.country.toLowerCase())) #set($needleWidth = $needleWidth - 2) #end #set($cssWidth = { 8: 'eight', 10: 'ten', 12: 'twelve' })
#* Disabled
AGA
*# #if($utils.displayRatings('egf', $tour.country.toLowerCase()))
EGF
#end #if($utils.displayRatings('ffg', $tour.country.toLowerCase()))
FFG
#end
Family name
Given name
Country
Club
Rating
Rankinitialized from rating
Final ?
Participation #foreach($r in [1..$tour.rounds])
R${r}
#end
#if($tour.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON')
#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
Drop changes?
Unregister this player?
#[[
]]#