[# 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
3/4th Boys
4th Boys
4th Boys White
4th Boys Blue
4th Boys Red
5th Boys
5th Boys Blue
5th Boys White
5th Boys Red
6th Boys
6th Boys Teal
6th Boys Blue
6th Boys White
5/6th Boys Red
6/7th Boys White
7th Boys Blue
7th Boys White
7th Boys Teal
7th Boys Red
7/8th Boys
8th Boys
8th Boys White
8th Boys Red
8th Boys Power League
3rd Girls
4th Girls Red
4A-5th Girls
5th Girls
5th Girls Red
6th Girls
6th Girls White
6th Girls Red
7th Girls
7th Girls White
7th Girls Red
7/8th Girls White
8th Girls Blue
7A-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