#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 ## CB TODO - why limit to INDIVIDUAL here? #if($tour.type == 'INDIVIDUAL' && $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($mmsPlayersMap = $utils.getMmsPlayersMap($mmbase)) #end
Reg | Name | First name | Country | Club | ##if($tour.country == 'FR') ##FFG | ##elsePIN | ##endRank | ## TableSort bug which inverts specified sort...Rating | #if($tour.pairing.type == 'MAC_MAHON')MMS | #endParticipation | #foreach($part in $parts)
---|---|---|---|---|---|---|---|---|---|---|
$part.name | $part.firstname | $part.country.toUpperCase() | $part.club | #if($tour.country == 'FR')$!part.ffg | #else$!part.egf | #end ## display MMS correction on the screen, but not when printed#rank($part.rank)#if($part.mmsCorrection) | #end$part.rating | #if($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()))
#else
#end
#end
|