2012 Fall Schedule

Date Teams Event Status Results Links
 
September
Sun. 16
There was a problem with a Velocity script
Pageschedule-template
ErrorInvocation of method 'get' in class java.util.Collections$CheckedRandomAccessList threw exception java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at schedule-template[line 453, column 36]
Page source:
1: #if ($browser.getIphone() || $browser.getMobile())
2: ## MOBILE
3: 	#set ($includeURL = "${page.url}?tmpl=mobile-schedule-template&$!request.getQueryString()")
4: 	$website.includeAgain($includeURL)
5: 	#stop
6: #else
7: ## DESKTOP
8: 
9: $website.addCss("/info/schedule-styles.css")
10: 
11: ## PICK UP OPTIONS
12: $website.include("options")
13: #set ($options = $request.getAttribute("options"))
14: 
15: ## CONFERENCE TEAM LINKING
16: #set ($confmemberIDs = $page.teamIDs)
17: 
18: ## DEFAULT SETTINGS
19: #set ($linkTarget = "_self")
20: #set ($restrictLinks = true)
21: 
22: #if ($options.get("schedule_restrict_links") == false)
23: 	#set ($restrictLinks = false)
24: #end
25: 
26: #set ($showVsAt = true)
27: #if ($options.get("schedule_hide_vs_at") == true)
28: 	#set ($showVsAt = false) 
29: #end
30: 
31: #set ($showTeamStats = true)
32: #if ($options.get("schedule_hide_team_stats") == true)
33: 	#set ($showTeamStats = false)
34: #end
35: 
36: #set ($showExhibitionGames = true)
37: #if ($options.get("schedule_hide_exhibition_events") == true)
38: 	#set ($showExhibitionGames = false)
39: #end
40: 
41: #set ($showRegularGames = true)
42: #if ($request.getParameter("confonly").equals("1"))
43: 	#set ($showRegularGames = false)
44: #end
45: 
46: #set ($confNotation = "*")
47: #set ($divisionNotation = "^")
48: #set ($exhibitionNotation = "#")
49: 
50: ## MACROS
51: 
52: #macro (renderEventLinks $event)
53:   #set ($linksCounter = 0)
54:   #foreach ($link in $event.links)
55:     #if ($restrictLinks && $event.statusCode >= 0 && (
56:       $link.name.equalsIgnoreCase("live stats") || 
57:       $link.name.equalsIgnoreCase("preview") || 
58:       $link.name.equalsIgnoreCase("directions") || 
59:       $link.name.equalsIgnoreCase("tickets") || 
60:       $link.name.equalsIgnoreCase("audio")))
61:     #else
62:       #set ($linksCounter = $linksCounter + 1)
63: 								
64:       #if ($linksCounter > 1)<span class="sep">&nbsp;|&nbsp;</span>#end
65: 								
66:       <a href="$link.url" class="e_link e_link_${link.getMapType().toLowerCase()}" #if ($website.isExternalLink($link.url)) target="_blank" #else target="${linkTarget}" #end>$link.name</a>
67:     #end
68:   #end
69: #end
70: 
71: #macro (displayNotation $type)
72:   #if ($type == "exhibition")
73:     <span class="notation" title="Exhibition">$exhibitionNotation</span>
74:   #elseif ($type == "conference")
75:     <span class="notation" title="Conference">$confNotation</span>
76:   #elseif ($type == "division")
77:     <span class="notation" title="Division">$divisionNotation</span>
78:   #end
79: #end
80: 
81: ## END MACROS
82: 
83: <div id="schedule-list" class="schedule-list clearfix">
84: 
85: $wiki
86: 
87: #set ($scheduleLayout = 1)
88: #if ($tool.math.toInteger($options.get("schedule_default_layout")) > 1)
89:   #set ($scheduleLayout = $tool.math.toInteger($options.get("schedule_default_layout")))
90: #end
91: 
92: ## SET DEFAULT LABELS AND FIELDS FOR NUMERIC vs. NON-NUMERIC SCHEDULES
93: #if ($schedule.team.length() > 0)
94: ## TEAM VIEW
95:   #if($schedule.numericResults) ## team h2h
96:     #if ($scheduleLayout == 1)
97:       #set ($scheduleFields = ["date", "opponent+neutralsite", "notes", "result", "status", "links"])
98:       #set ($scheduleLabels = ["Date", "Opponent", "Notes", "Result", "Status", "Links"])
99:     #elseif ($scheduleLayout == 2)	
100:       #set ($scheduleFields = ["date", "opponent+neutralsite", "result", "status", "links", "_notes"])
101:       #set ($scheduleLabels = ["Date", "Opponent", "Result", "Status", "Links", "Notes"])
102: 	#elseif ($scheduleLayout == 3)
103: 	  #set ($scheduleFields = ["date", "opponent", "notes+neutralsite", "result", "status", "links"])
104:       #set ($scheduleLabels = ["Date", "Opponent", "Notes", "Result", "Status", "Links"])
105:     #end
106:   #else
107:     #if ($scheduleLayout == 1)
108:       #set ($scheduleFields = ["date", "opponent+neutralsite", "notes", "status", "team_away_result", "links"])
109:       #set ($scheduleLabels = ["Date", "Event", "Notes", "Status", "Result", "Links"])
110:     #elseif ($scheduleLayout == 2)
111:       #set ($scheduleFields = ["date", "opponent", "status", "team_away_result", "links", "_notes+neutralsite"])
112:       #set ($scheduleLabels = ["Date", "Event", "Status", "Result", "Links", "Notes"])
113:     #elseif ($scheduleLayout == 3)
114:       #set ($scheduleFields = ["date", "opponent+neutralsite",  "status", "team_away_result", "links", "_notes"])
115:       #set ($scheduleLabels = ["Date", "Event", "Status", "Result", "Links", "Notes"])
116:     #end
117:   #end
118: #else
119: ## CONFERENCE VIEW
120:   #if($schedule.numericResults) ## conf h2h
121:     #if ($scheduleLayout == 1)
122:       #set ($scheduleFields = ["date", "team_away", "team_away_result", "team_home", "team_home_result", "status", "links", "_notes+neutralsite"])
123:       #set ($scheduleLabels = ["Date", "Away", "", "Home", "", "Status", "Links", "Notes"])
124:     #elseif ($scheduleLayout == 2)
125:       #set ($scheduleFields = ["_date", "team_away+team_away_result", "team_home+team_home_result", "notes+neutralsite", "status", "links"])
126:       #set ($scheduleLabels = ["Date", "Away", "Home", "Notes", "Status", "Links"])
127: 	#elseif ($scheduleLayout == 3)
128: 	  #set ($scheduleFields = ["date", "team_away", "team_away_result", "team_home", "team_home_result", "notes+neutralsite", "status", "links"])
129:       #set ($scheduleLabels = ["Date", "Away", "", "Home", "", "Notes", "Status", "Links"])
130:     #end
131:   #else
132:     #if ($scheduleLayout == 1)
133:       #set ($scheduleFields = ["date", "team_away", "neutralsite", "status", "team_away_result", "links", "_notes"])
134:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Status", "Results", "Links", "Notes"])
135:     #elseif ($scheduleLayout == 2)
136:       #set ($scheduleFields = ["date", "team_away", "neutralsite", "team_away_result", "links", "_notes"])
137:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Results", "Links", "Notes"])
138: 	#elseif ($scheduleLayout == 3)
139: 	  #set ($scheduleFields = ["date", "team_away", "neutralsite", "team_away_result", "links", "notes"])
140:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Results", "Links", "Notes"])
141:     #end
142:   #end
143: #end
144: 
145: ## SET FIELDS AND LABELS FROM OPTIONS IF AVAILABLE AND SANITIZE THEM
146: #if ($options.get("schedule_fields") && $options.get("schedule_labels"))
147:   #set ($scheduleFields = $options.get("schedule_fields"))
148:   #set ($scheduleFields = $scheduleFields.split(","))
149:   #foreach ($field in $scheduleFields)
150:     #set ($field = $field.trim())
151:     $tool.list.set($scheduleFields, $tool.math.sub($velocityCount, 1), $field)
152:   #end
153: 
154:   #set ($scheduleLabels = $options.get("schedule_labels"))
155:   #set ($scheduleLabels = $scheduleLabels.split(","))
156:   #foreach ($label in $scheduleLabels)
157:     #set ($label = $label.trim())
158:     #if ($label.equals("-"))
159:       #set ($label = "&nbsp;")
160:     #end
161:     $tool.list.set($scheduleLabels, $tool.math.sub($velocityCount, 1), $label)
162:   #end
163:   
164:   #if ($tool.list.size($scheduleFields) != $tool.list.size($scheduleLabels))
165: 	<h2 style="color:#FF0000">Error: Size of the fields and labels must match in options</h2>
166: 	#stop
167:   #end
168:   
169: #end
170: 
171: #set ($dateFormat = "EEE. d")
172: #set ($groupByMonths = true)
173: 
174: #if ($options.get("schedule_date_format").equals("Thu. 3"))
175:   #set ($dateFormat = "EEE. d")
176: #elseif ($options.get("schedule_date_format").equals("Mar. 15"))
177:   #set ($dateFormat = "MMM. dd")
178: #elseif ($options.get("schedule_date_format").equals("Mar. 15, 2013"))
179:   #set ($dateFormat = "MMM. dd, yyyy")
180: #elseif ($options.get("schedule_date_format").equals("March 15, 2013"))
181:   #set ($dateFormat = "MMMM dd, yyyy")
182: #elseif ($options.get("schedule_date_format").equals("March 15"))
183:   #set ($dateFormat = "MMMM dd")
184: #elseif ($options.get("schedule_date_format").equals("03/15/2013"))
185:   #set ($dateFormat = "MM/dd/yyyy")
186: #elseif ($options.get("schedule_date_format").equals("03/15"))
187:   #set ($dateFormat = "MM/dd")
188: #elseif ($options.get("schedule_date_format").equals("Thursday, March 15, 2013"))
189:   #set ($dateFormat = "EEEE, MMMM dd, yyyy")
190: #elseif ($options.get("schedule_date_format").equals("Thursday, Mar. 15, 2013"))
191:   #set ($dateFormat = "EEEE, MMM. dd, yyyy")
192: #elseif ($options.get("schedule_date_format").equals("Thursday, March 15"))
193:   #set ($dateFormat = "EEEE, MMMM dd")
194: #elseif ($options.get("schedule_date_format").equals("Thursday, Mar. 15"))
195:   #set ($dateFormat = "EEEE, MMM. dd")
196: #elseif ($options.get("schedule_date_format").equals("Thu., March 15"))
197:   #set ($dateFormat = "EEE., MMMM dd")
198: #elseif ($options.get("schedule_date_format").equals("Thu., Mar. 15"))
199:   #set ($dateFormat = "EEE., MMM. dd")
200: #end
201: 
202: #if ($options.get("schedule_group_by_months") == false)
203:   #set ($groupByMonths = false)
204: #end
205: 
206: #set ($resultFormat = "AP1")
207: #if ($options.get("schedule_result_format").equals("L, 2-1"))
208:   #set ($resultFormat = "AP1")
209: #elseif ($options.get("schedule_result_format").equals("L, 1-2"))
210:   #set ($resultFormat = "AP2")
211: #end
212: 
213: ## LOOK TO INCLUDE ARCHIVE SCHEDULES DROPDOWN
214: $website.include("navbar-schedule-archive?tmpl=schedule-archive-list-template&selected=${tool.esc.url($page.url)}")
215: 
216: ## LOOK TO INCLUDE SCHEDULE NOTE
217: #set ($scheduleNoteURL = "${page.url}-note")
218: #if ($website.exists($scheduleNoteURL))
219:   $website.include($scheduleNoteURL)
220: #end
221: 
222: #if ($page.title.length() > 0)
223:   #if ($schedule.team.length() > 0 && $request.getParameter("teamId"))
224:     <h1>$page.title : $schedule.team</h1>
225:   #else
226:     <h1>$page.title</h1>
227:   #end
228: #end
229: 
230: #if ($schedule.team.length() > 0 && $schedule.numericResults)
231: <div class="schedule-record clearfix">
232: <table>
233: <tr>
234:   <th>Overall</th>
235:   <th>Pct.</th>
236:   <th>Conf.</th>
237:   <th>Pct.</th>
238:   <th>Streak</th>
239:   <th>Home</th>
240:   <th>Away</th>
241:   <th>Neutral</th>
242: </tr>
243: <tr>
244:   <td>$schedule.Record</td>
245:   #set ($number = $schedule.Record.winPercentage)
246:   <td>$formatter.formatNumber($number, "#.000")</td>
247:   <td>$schedule.ConferenceRecord</td>
248:   #set ($confnumber = $schedule.conferenceRecord.winPercentage)
249:   <td>$formatter.formatNumber($confnumber, "#.000")</td>
250:   <td>$schedule.streak</td>
251:   <td>$schedule.homeRecord</td>
252:   <td>$schedule.awayRecord</td>
253:   <td>$schedule.neutralRecord</td>
254: </tr>
255: </table>
256: </div>
257: #end
258: 
259: ## SHOW SPLITS DATA FOR TEAM VIEW H2H SCHEDULES
260: #if ($showTeamStats && $schedule.teamId.length() > 0 && $schedule.numericResults)
261:   #set ($sectionPath = $page.sectionPage.url)
262:   #set ($teamStatsPath = "${sectionPath}/teams")
263:     
264:   #if ($website.exists($teamStatsPath))
265: 	$website.includeAgain("${teamStatsPath}?teamId=${schedule.teamId}&tmpl=team-highlight-stats-template")
266:   #end
267: #end
268: 
269: ## FILTER LINKS FOR CONFERENCE SCHEDULES (don't print on team view)
270: #if ($schedule.team.length() == 0 && $schedule.numericResults) ## ONLY H2H SCHEDULES
271: <div class="conf-links">
272: 	
273:   #if ($showRegularGames)
274:     <a href="${page.url}?confonly=1">Conference Schedule</a>
275:   #else 
276:     <a href="${page.url}">Composite Schedule</a>
277:   #end
278: 	
279:   ## LINK TO STANDINGS IF PRESENT
280:   #if($website.exists("standings")) | <a href="standings">Standings</a>#end
281: 
282: </div>
283: #end ## numeric
284: 
285: <div class="schedule-content clearfix">
286: <table>
287: 	
288: <tr>
289: #set ($colCount = 0)
290: #foreach ($label in $scheduleLabels)
291:   #if (!$tool.list.get($scheduleFields, $tool.math.sub($velocityCount, 1)).startsWith("_"))
292:     <th>$label</th>
293: 	#set ($colCount = $colCount + 1)
294:   #end
295: #end
296: </tr>
297: 	
298: #set ($lastdate = "")
299: #set ($lastMonth = "")
300: #set ($counter = 0)
301: #set ($showConfNotation = false)
302: #set ($showExhibitionNotation = false)
303: #set ($showHomeNotation = false)
304: #set ($showDivisionNotation = false)
305: 	
306: #foreach ($event in $schedule.events)
307: #if ($event.overall || $showExhibitionGames)
308: #if ($event.conference || $showRegularGames)
309:         				
310:   #set ($theDate = $formatter.formatDate($event.date, $dateFormat))
311:   #set ($theMonth = $formatter.formatDate($event.date, "MMMM"))
312:         	
313:   #if ($groupByMonths && !$lastMonth.equals($theMonth))
314:     <tr class="month-sep"><td colspan="${colCount}">&nbsp;</td></tr> ## show empty row
315:     <tr class="month-title"><td colspan="${colCount}">$theMonth</td></tr>
316: 					
317:     ## EVENTS ARE GROUPED WHEN HERE SO RESET COUNTER BACK TO 0
318:     #set ($counter = 0)
319:   #end
320: 				
321:   #if ($scheduleFields.contains("_date") && !$lastDate.equals($theDate))
322:     <tr class="date-sep"><td colspan="${colCount}">&nbsp;</td></tr> ## show empty row
323:     <tr class="date-title"><td colspan="${colCount}">$theDate</td></tr>
324: 					
325:     ## EVENTS ARE GROUPED WHEN HERE SO RESET COUNTER BACK TO 0
326:     #set ($counter = 0)
327:   #end
328: 				
329:   #set ($counter = $counter + 1)
330:   #if ($counter % 2 == 0)
331:     #set ($rowClass = "even")
332:   #else
333:     #set ($rowClass = "odd")
334:   #end
335: 				
336:   #if ($event.inProgress)
337:     #set ($rowClass = "${rowClass} in-progress")
338:   #end
339: 				
340:   <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
341: 					
342:   #foreach ($field in $scheduleFields)
343:         				
344:   ## DATE
345:   #if ($field.equals("date"))
346:     <td class="e_date">#if (!$lastDate.equals($theDate)) $theDate #else &nbsp; #end</td>
347:   #end
348:         				
349:   ## OPPONENT
350:   #if ($field.equals("opponent") || $field.equals("opponent+neutralsite"))
351:     <td class="e_team e_opponent">					
352:       #if ($showVsAt)
353:         #if ($event.neutralSite.length() > 0) 
354:           <span class="e_va">vs. </span> 
355:         #else 
356:           #if (!$event.home)<span class="e_va">at </span>#end 
357:         #end
358:       #end
359: 									
360:       #set ($opponentName = "")
361:       #if ($event.opponent.name.length() > 0)
362:         #set ($opponentName = $event.opponent.name)
363:       #elseif ($event.teams.size() > 0)
364:         #set ($opponentName = $event.teams.get(0).name)
365:       #end
366: 								
367:       #set ($class = "e_teamname e_opponent_name")
368: 	  #if ($event.neutralSite.length() > 0) #else
369:         #if ($event.home)
370:           #set ($class = "${class} e_home")
371:           #set ($showHomeNotation = true)
372:         #end
373:       #end
374:         						
375:       #if ($confmemberIDs.contains($event.opponent.teamId))
376: 		<a href="${page.url}?teamId=${event.opponent.teamId}" class="${class}" title="${opponentName}">$opponentName</a>
377:       #else
378: 		<span class="${class}" title="${opponentName}">$opponentName</span>
379: 	  #end
380: 	  
381: 	  #if ($event.conference)
382:         #displayNotation("conference")
383:         #set ($showConfNotation = true)
384:       #end
385: 							
386:       #if ($event.division)
387:         #displayNotation("division")
388:         #set ($showDivisionNotation = true)
389:       #end
390: 								
391:       #if (!$event.overall)
392:         #displayNotation("exhibition")
393:         #set ($showExhibitionNotation = true)
394:       #end
395:         						
396:       #if ($field.equals("opponent+neutralsite") && $event.neutralSite.length() > 0)
397:         <span class="e_neutralsite">@ $event.neutralSite</span>
398:       #end
399:     </td>
400:   #end
401:         				
402:   ## RESULT
403:   #if ($field.equals("result") || $field.equals("result+status"))
404:     <td class="e_result">
405: 							
406:     #set ($result = "")
407:     #if ($resultFormat.equals("AP1"))
408:       #set ($APResult = $event.APResult)
409:     #elseif ($resultFormat.equals("AP2"))
410:       #set ($APResult = $event.AP2Result)
411:     #end
412: 
413:     #if ($event.inProgress) 
414:       #set ($result = $event.result)
415:     #elseif ($APResult.length() > 0)
416:       #set ($result = $APResult)
417:     #else
418:       #set ($result = $event.result)
419:     #end
420: 								
421:     #if ($field.equals("result+status"))
422:       #set ($status = $formatter.formatStatus($event))
423:       #if ($status.length() > 0)
424:         #set ($result = "${result} (${status})")
425:       #end
426:     #end
427: 								
428:     $!result
429: 							
430:     </td>
431:   #end
432: 						
433:   ## TEAM AWAY
434:   #if ($field.equals("team_away") || $field.equals("team_away+team_away_result"))
435:     #set ($class = "e_team e_awayteam")
436:     #if ($field.equals("team_away+team_away_result"))
437:       #set ($class = "e_team_result e_awayteam")
438:     #end
439:     <td class="$class">
440: 	
441: 	#set ($class = "e_teamname")
442: 	## FOR FLEXIBLE RESULTS LOOK TO DISPLAY THE TEAMNAME AS BOLD IF MARKED AS A HOME EVENT
443: 	#if (!$schedule.numericResults)
444:       #if ($event.neutralSite.length() > 0) #else
445:         #if ($event.home)
446:           #set ($class = "${class} e_home")
447:           #set ($showHomeNotation = true)
448: 		#end
449:       #end
450:     #end
451: 						
452:     #set ($teamName = "")
453:     #set ($teamName = $event.teams.get(0).name)
454:     #if ($teamName.length() > 0)
455:       #if ($confmemberIDs.contains($event.teams.get(0).teamId))
456: 		<a href="${page.url}?teamId=${event.teams.get(0).teamId}" class="${class}" title="${teamName}">$teamName</a>
457:       #else
458:         <span class="${class}" title="${teamName}">$teamName</span>
459:       #end
460: 							
461:       #if ($field.equals("team_away+team_away_result"))
462:         #set ($teamResult = "")
463:         #set ($teamResult = $event.teams.get(0).result)
464:         #if ($teamResult.length() > 0) <span class="e_result">$teamResult</span> #end
465:       #end							
466:     #else
467:       &nbsp;
468: 	#end
469: 	
470: 	#if (!$schedule.numericResults)
471:       #if ($event.conference)
472:         #displayNotation("conference")
473:         #set ($showConfNotation = true)
474:       #end
475: 						
476:       #if ($event.division)
477:         #displayNotation("division")
478:         #set ($showDivisionNotation = true)
479:       #end
480: 								
481:       #if (!$event.overall)
482:         #displayNotation("exhibition")
483:         #set ($showExhibitionNotation = true)
484: 	  #end
485: 	#end
486: 	
487:     </td>
488:   #end
489: 						
490:   ## TEAM AWAY RESULT
491:   #if ($field.equals("team_away_result"))
492:     <td class="e_result e_awayresult">
493:     #set ($teamResult = "")
494:     #set ($teamResult = $event.teams.get(0).result)
495:     #if ($teamResult.length() > 0) $teamResult #else &nbsp; #end
496:     </td>
497:   #end
498: 						
499:   ## TEAM HOME
500:   #if ($field.equals("team_home") || $field.equals("team_home+team_home_result"))
501:     #set ($class = "e_team e_hometeam")
502:     #if ($field.equals("team_home+team_home_result"))
503:       #set ($class = "e_team_result e_hometeam")
504:     #end
505:     <td class="$class">
506:     						
507:     #set ($teamName = "")
508:     #if ($event.teams.size() > 1)
509:       #set ($teamName = $event.teams.get(1).name)
510: 	#end
511: 	
512: 	#set ($class = "e_teamname")
513: 	## FOR FLEXIBLE RESULTS LOOK TO DISPLAY THE TEAMNAME AS BOLD IF MARKED AS A HOME EVENT
514: 	#if (!$schedule.numericResults)
515:       #if ($event.neutralSite.length() > 0) #else
516:         #if ($event.home)
517:           #set ($class = "${class} e_home")
518:           #set ($showHomeNotation = true)
519: 		#end
520:       #end
521:     #end
522:     							
523:     #if ($teamName.length() > 0)
524:       #if ($confmemberIDs.contains($event.teams.get(1).teamId))
525:         <a href="${page.url}?teamId=${event.teams.get(1).teamId}" class="${class}" title="${teamName}">$teamName</a>
526:       #else
527:         <span class="${class}" title="${teamName}">$teamName</span>
528:       #end
529: 							
530:       #if ($field.equals("team_home+team_home_result"))
531:         #set ($teamResult = "")
532:         #set ($teamResult = $event.teams.get(1).result)
533:         #if ($teamResult.length() > 0) <span class="e_result">$teamResult</span> #end
534:       #end
535: 							
536:     #else
537:       &nbsp;
538:     #end
539:     </td>
540:   #end
541: 						
542:   ## TEAM HOME RESULT
543:   #if ($field.equals("team_home_result") && $event.teams.size() > 1)
544:     <td class="e_result e_homeresult">
545:     #set ($teamResult = "")
546:     #set ($teamResult = $event.teams.get(1).result)
547:     #if ($teamResult.length() > 0) $teamResult #else &nbsp; #end
548:     </td>					
549:   #end
550:         				
551:   ## BOTH TEAMS AND THEIR RESULT
552:   #if ($field.equals("teams+result"))
553:     <td class="e_teams_result">    					
554:     #foreach ($team in $event.teams)					
555:       #if ($velocityCount == 1)
556:         #if ($event.conference)
557:           #displayNotation("conference")
558:           #set ($showConfNotation = true)
559:         #end
560: 								
561:         #if ($event.division)
562:           #displayNotation("division")
563:           #set ($showDivisionNotation = true)
564:         #end
565: 								
566:         #if (!$event.overall)
567:           #displayNotation("exhibition")
568:           #set ($showExhibitionNotation = true)
569:         #end
570: 	  #end
571: 	  
572: 	  #if ($velocityCount > 1) &nbsp;&nbsp; #end
573: 								
574:       #if ($confmemberIDs.contains($team.teamId))
575:         <a href="${page.url}?teamId=${team.teamId}" class="e_teamname" title="${team.name}">$team.name</a>
576:       #else 
577:         <span class="e_teamname" title="${team.name}">$team.name</span>
578: 	  #end
579: 	  
580: 	  &nbsp;
581: 								
582:       #if ($team.result.length() > 0) $team.result #end
583:     #end						
584:     </td>
585:   #end
586:         				
587:   ## STATUS
588:   #if ($field.equals("status") || $field.equals("status+neutralsite"))
589:     <td class="e_status">
590: 						
591:     #set ($status = $formatter.formatStatus($event))
592:     #if ($field.equals("status+neutralsite") && $event.neutralSite.length() > 0)
593:       #set ($status = "${status} @ ${event.neutralSite}")
594:     #end
595: 						
596:     #if ($status.length() > 0) $status #else &nbsp; #end
597:         					
598:     </td>
599:   #end
600:         				
601:   ## LINKS (SAME ROW)
602:   #if ($field.equals("links"))
603:     <td class="e_links">					
604:       #renderEventLinks($event)			
605:       $wiki.event($event)			
606:     </td>
607:   #end
608: 						
609:   ## NOTES (SAME ROW)
610:   #if ($field.equals("notes") || $field.equals("notes+neutralsite"))
611:     <td class="e_notes">$!event.notes #if ($field.equals("notes+neutralsite") && $event.neutralSite.length() > 0) @ $event.neutralSite #end</td>
612:   #end
613: 						
614:   ## NEUTRALSITE
615:   #if ($field.equals("neutralsite"))
616:     <td class="e_neutralsite">						
617:     #if ($event.neutralSite.length() > 0)
618:       ## DISPLAY THE @ CHARACTER ONLY FOR HEAD-TO-HEAD SCHEDULES (non numeric schedules sometimes use neutralSite field for event name)
619:       #if ($schedule.numericResults) @ #end $event.neutralSite 
620:     #else 
621:       &nbsp;
622: 	#end
623:     </td>
624:   #end
625: 
626:   #end ## fields loop
627:   </tr>
628: 				
629:   #foreach ($field in $scheduleFields)
630: 					
631:   ## NOTES (NEW ROW)
632:   #if (($field.equals("_notes") && $event.notes.length() > 0) || ($field.equals("_notes+neutralsite") && ($event.notes.length() > 0 || $event.neutralSite.length() > 0)))
633:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
634:       <td>&nbsp;</td>					
635:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_notes">$!event.notes #if ($field.equals("_notes+neutralsite") && $event.neutralSite.length() > 0) @ $event.neutralSite #end</td>
636:     </tr>
637:   #end
638: 					
639:   ## LINKS (NEW ROW)
640:   #if ($field.equals("_links") && $event.links.size() > 0)
641:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
642:       <td>&nbsp;</td>
643:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_links">						
644:         #renderEventLinks($event)
645:         $wiki.event($event)				
646:       </td>
647:     </tr>
648:   #end
649: 					
650:   ## NEUTRAL SITE (NEW ROW)
651:   #if ($field.equals("_neutralsite") && $event.neutralSite.length() > 0)
652:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
653:       <td>&nbsp;</td>
654:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_neutralsite">#if ($schedule.numericResults) @ #end $event.neutralSite</td>
655:     </tr>
656:   #end
657: 					
658:   #end ## fields loop
659:         		
660:   #set ($lastDate = $theDate)
661:   #set ($lastMonth = $theMonth)
662: 		
663: #end ## SHOW CONF ONLY EVENTS?
664: #end ## SHOW EXHIBITION GAMES?
665: #end ## EVENTS LOOP
666: 	
667: </table>
668: </div>
669: 
670: ## LOOK TO INCLUDE SCHEDULE POST FILE
671: #set ($schedulePostURL = "${page.url}-post")
672: #if ($website.exists($schedulePostURL))
673:   $website.include($schedulePostURL)
674: #end
675: 
676: #if ($showExhibitionNotation || $showConfNotation || $showHomeNotation)
677: <div class="notations">
678:   #if ($showExhibitionNotation)
679:     <div class="exhibition_notation"><span><b>$exhibitionNotation</b> Exhibition</span></div>
680:   #end
681:   #if ($showConfNotation)
682:     <div class="conf_notation"><span><b>$confNotation</b> Conference</span></div>
683:   #end
684:   #if ($showDivisionNotation)
685:     <div class="div_notation"><span><b>$divisionNotation</b> Division</span></div>
686:   #end
687:   #if ($showHomeNotation)
688:     <div class="home_notation"><span><b>Bold:</b> Home event</span></div>
689:   #end
690: </div>
691: #end
692: 
693: <div class="subscribe_links">
694:   <a href="$icalURL"><img src="/info/images/icon_schedule.gif" alt="iCalendar" /> <b>iCalendar</b></a> ## iCalendar
695:   <a href="$rssURL"><img src="/info/images/icon_rss.gif" alt="rss feed" /> <b>RSS Feed</b></a> ## RSS
696: </div>
697: 
698: ## LOOK TO INCLUDE SCHEDULE FOOTER FILE
699: #set ($scheduleFooterURL = "${page.url}-footer")
700: #if ($website.exists($scheduleFooterURL))
701: 	$website.include($scheduleFooterURL)
702: #end
703: 
704: 
705: $sfs
706: $wiki
707: $rss
708: 
709: </div> ## schedule-list
710: 
711: #if ($request.getParameter("ajax").equals("true"))
712:   $!request.setAttribute("decorator", "")
713: #end
714: 
715: #end ## MOBILE CHECK