#set($parts = $api.get("tour/${params.id}/part")) #if($tour.type == 'INDIVIDUAL') ## Standard tournament #set($pmap = $utils.toMap($parts)) #else ## Pairgo, rengo and teams of individuals #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
Reg | Name | First name | Country | Club | #if($utils.showRatings('egf', $tour.country.toLowerCase()))PIN | #end #if($utils.showRatings('ffg', $tour.country.toLowerCase()))FFG | #endRank | ## TableSort bug which inverts specified sort...Rating | #if($tour.type == 'INDIVIDUAL' && $tour.pairing.type == 'MAC_MAHON')MMS | #endParticipation | #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) | #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()))
#else
#end
#end
|