From: Marius Gavrilescu Date: Fri, 12 Dec 2014 12:55:13 +0000 (+0200) Subject: Show contest names on user pages X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=dc6ca3bcf2500c25510068b38af7e040f23b2dde;p=plack-app-gruntmaster.git Show contest names on user pages --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index b1f8dce..2ae8a44 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -93,7 +93,7 @@ sub process_us_entry { my $ctiter = sub { my ($data, $td) = @_; - $td->fclass('contest')->namedlink($data->{contest}); + $td->fclass('contest')->namedlink($data->{contest}, $data->{contest_name}); $td->fclass('score')->replace_content($data->{score}); $td->fclass('rank')->replace_content($data->{rank}); };