]> iEval git - plack-app-gruntmaster.git/commitdiff
Use new standings API
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 12 Dec 2014 12:17:03 +0000 (14:17 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 12 Dec 2014 12:17:03 +0000 (14:17 +0200)
lib/Plack/App/Gruntmaster/HTML.pm

index ff998b96a4e654b999a5cebb5d60618506c63182..a82cafd1cd3ab7023a788bd9463d86673601f6be 100644 (file)
@@ -216,7 +216,7 @@ sub process_st {
                my ($st, $tr) = @_;
                $tr->set_child_content(class => 'rank', $st->{rank});
                $tr->set_child_content(class => 'score', $st->{score});
-               $tr->fclass('user')->namedlink($st->{user}->id, $st->{user}->name);
+               $tr->fclass('user')->namedlink($st->{user}, $st->{user_name});
                my $pbscore = $tr->fclass('pbscore');
                $pbscore->detach unless $st->{problems};
                $pbscore->iter($pbscore => @{$st->{scores}});
This page took 0.028549 seconds and 4 git commands to generate.