]> git.sesse.net Git - foosball/blobdiff - www/assess-single.pl
Show the ratings in the assessments.
[foosball] / www / assess-single.pl
old mode 100644 (file)
new mode 100755 (executable)
index c2948ff..66480e6
@@ -43,6 +43,8 @@ print CGI->header(-type=>'application/xhtml+xml');
 my $doc = XML::Template::process_file('assess.xml', {
        'username1' => $username1,
        'username2' => $username2,
+       'rating1' => int($rating1+0.5),
+       'rating2' => int($rating2+0.5),
        '#results' => \@results,
 });
 print $doc->toString;