[# team.schedule_name #]
[# if (pool.hasPoolGames) #]
[# team.stats?.event?.win || '0' #]
[# team.stats?.event?.lose || '0' #]
[# team.stats?.event?.pd || '0' #]
[# team.stats?.event?.pa || '0' #]
[# team.stats?.event?.ps || '0' #]
[# team.stats.pool_place_formatted || '-' #]
[# endif #]
[# venue.name #] ([# venue.abbreviation #])
[# venue.streetAddress ? venue.streetAddress + ',' : '' #]
[# venue.extendedAddress ? venue.extendedAddress + ',' : '' #]
[# venue.city ? venue.city + ',' : '' #]
[# venue.state.name ? venue.state.name + ' ' : '' #]
[# venue.postalCode ? venue.postalCode : '' #]
arrow_back
Back
Division
3rd Boys
4/5th Boys Red
4/5th Boys Blue
5th Boys Blue
5th Boys Yellow
4A-5th Boys White
5th Boys White
5/6th Boys
5A-6th Boys
6th Boys Maroon
6th Boys Blue
6th Boys
7th Boys Maroon
7th Boys Blue
7th Boys White
7th Boys Red
8th Boys Blue
8th Boys White
8th Boys Red
8th Boys Black
8th Boys Purple
12th Boys
4th Girls
4/5th Girls
5/6B Girls
5/6th Girls
6/7th Maroon
6/7th Girls Blue
7th Girls Maroon
7/8th Girls Blue
7A-8th Girls
8th Girls Blue
8th Girls
8th Girls Red
[# if (pools.length) #]
Results
[# pools.map(pool => dfGetTemplate('pool', { pool, hasPoolGames })).join(''); #]
[# endif #]
[# if (division.venueIds.length) #]
Venue
[#
division.venueIds.map(function (venueId) {
var currentVenue;
event.venues.map(function (venue) {
if (venue.id === venueId) {
currentVenue = venue;
}
});
return dfGetTemplate('venue', { venue: currentVenue });
}).join('');
#]
[# endif #]
[# if (division.games.length) #]
[# if (event.type === 'multi-day') #]
[#
const year = (event.gamesTimeRange.split(",")[1] || new Date().getFullYear()).trim();
gamesByDate = division.games.reduce((acc, game) => {
const formattedDate = `${game.formattedDate}, ${year}`;
if (!acc[formattedDate]) {
acc[formattedDate] = [];
}
acc[formattedDate].push(game);
return acc;
}, {});
Object.entries(gamesByDate).map(function([key, games]) {
return `
Games on ${key}
${games.map(function(game) {
return dfGetTemplate('game', { game: game });
}).join('')}
`
}).join('')
#]
[# else #]
Games on [# event.gamesTimeRange #]
[#
division.games.map(function(game) {
return dfGetTemplate('game', { game: game });
}).join('');
#]
[# endif #]
[# endif #]
[# if (division.division.useBracket) #]
[# division.division.event #].[# division.division.id #]
[# endif #]
arrow_back
Back
arrow_back
Back
[# if (team.name) #][# team.team.name #][# endif #]
[# if (team.division.name) #][# team.division.name #][# endif #]
[# if (team.games.length) #]
Games ([# event.gamesTimeRange #])
[#
team.games.map(function(game) {
return dfGetTemplate('game', { game: game });
}).join('');
#]
[# endif #]
[# if (team.division.useBracket) #]
[# team.division.event #].[# team.division.id #]
[# endif #]
arrow_back
Back