]> iEval git - gruntmaster-page.git/commitdiff
Show full names instead of usernames in standings
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 28 Feb 2014 07:37:44 +0000 (09:37 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 28 Feb 2014 07:37:44 +0000 (09:37 +0200)
lib/Gruntmaster/Page/St.pm

index 5e256b1c8b51b945f3d8d9ccf63553a08f47f374..407e87a09dfce80b9ab3517ecf9d3eb64e32577f 100644 (file)
@@ -58,7 +58,7 @@ sub _generate{
        my @st = sort { $b->{score} <=> $a->{score} or $a->{user} cmp $b->{user}} map {
                my $user = $_;
                +{
        my @st = sort { $b->{score} <=> $a->{score} or $a->{user} cmp $b->{user}} map {
                my $user = $_;
                +{
-                       user => $user,
+                       user => user_name $user,
                        score => sum (values $scores{$user}),
                        scores => [map { $scores{$user}{$_} // '-'} @problems],
                        problems => $Gruntmaster::Data::contest,
                        score => sum (values $scores{$user}),
                        scores => [map { $scores{$user}{$_} // '-'} @problems],
                        problems => $Gruntmaster::Data::contest,
This page took 0.023004 seconds and 4 git commands to generate.