#set($roundPairing = $api.get("tour/${params.id}/pair/$round")) #if($roundPairing.error) #set($pairables = []) #set($games = []) #set($unpairables = []) #else #set($pairables = $roundPairing.pairables) #set($games = $roundPairing.games) #set($unpairables = $roundPairing.unpairables) #end
Pairings for round $round
( $pairables.size() pairable, $games.size() games )
#foreach($p in $pairables) #set($part = $pmap[$p])
$part.name#if($part.firstname) $part.firstname#end#rank($part.rank)#if($part.country) $part.country#end
#end
#foreach($p in $unpairables) #set($part = $pmap[$p])
$part.name#if($part.firstname) $part.firstname#end#rank($part.rank)#if($part.country) $part.country#end
#end
#foreach($game in $games) #set($white = $pmap[$game.w]) #set($black = $pmap[$game.b])
#$game.t
#if($white)$white.name#if($white.firstname) $white.firstname#end#{else}BIP#end
#if($white)#rank($white.rank)#end / #if($black)#rank($black.rank)#end
#if($black)$black.name#if($black.firstname) $black.firstname#end#{else}BIP#end
#if($game.h)h$game.h#{else} #end
#end