-- File: HandicapOverallsPlusLastRace.tmpl
-- Version: 1.1.2
-- Date: 19 Apr 2007
-- template file for timed handicap races. will show the overall score
-- first and then show the detailed result for each division the last race.
-- The details will include handicap, finish time, elapsed time
-- and corrected time
-- 09Jul07: removed the
]]..RS.RegattaDescription()..[[
]]..RS.ClassDescription()..[[
Class=]]..RS.ClassName()..[[
]])
-- if the number of races is less than one, don't bother to output the
-- overall score since it's redundant
if(RS.NumRaces() > 1) then
RS.Put([[
Overall Results
]])
-- output the overall results for each division separately at the
-- beginning.
RS.SelectOverall()
nDiv = 0
while(nDiv < RS.NumDivisions()) do
RS.SelectDivision(nDiv)
RS.Put([[
Division=]]..RS.DivisionName()..[[
]])
-- output the right hand list view to a
tag
PutHTMLListView(RS.Headers(), RS.Results());
nDiv = nDiv + 1
end
-- if there were no divisions, just do the overall for every boat
if(RS.NumDivisions() == 0) then
-- output the right hand list view to a tag
PutHTMLListView(RS.Headers(), RS.Results())
end
end
RS.Put([[
RaceOfficer: ]]..RS.RegattaRaceOfficer()..[[
Created on ]]..RS.DateTimeNow()..[[
Scoring Program: RaceSail
]]..RS.RaceSailVersion()..[[ FileName:
]]..RS.FileName()..[[