#set ($page_title="History Comparison") #parse("pageHead.vm") #if($resultContent) #set($Header ="" ) #set($passfail = "fail") #if($completeMatch) #set($Header = "A Complete Match") #set($passfail = "pass") #else #set($Header = "Something Didn't Match") #end
$Header
#set($score = "") #set ($matched = "Match") #foreach($result in $resultContent) #set($score = $comparer.findScoreByFirstTableIndexAsStringAsPercent($count)) #if($result.equals("pass")) #set($matched = "Match. Score: " + $score + "%") #else #set($matched = "Not a match. Score: " + $score + "%") #end #set ($firstTable = $firstTables.get($count)) #set ($secondTable = $secondTables.get($count)) #set ($count = $count + 1) #end
"Scores" $firstFileName $secondFileName
$matched$firstTable $secondTable
#else

Comparison Failed: $pageTitle.Title

#end #parse("pageFooter.vm")