]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster/HTML.pm
Merge branch 'master' into newmc
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster / HTML.pm
index 8e36af534b5b3b11af75619472d3a57b4f612542..8b7a0a872379f861f9888213b1c09337e1bd447a 100644 (file)
@@ -227,6 +227,8 @@ sub process_log {
                $tr->fclass('id')->namedlink($data->{id});
                $tr->fclass('problem')->namedlink($data->{problem}, $data->{problem_name});
                $tr->fclass('problem')->find('a')->edit_href(sub{$_ .= "?contest=$args{contest}"}) if $args{contest};
+               $tr->fclass('contest')->namedlink($data->{contest}, $data->{contest_name}) if $data->{contest};
+               $tr->fclass('contest')->replace_content('None') unless $data->{contest};
                $tr->fclass('date')->replace_content(ftime $data->{date});
                $tr->fclass('format')->replace_content($data->{format});
                $tr->fclass('size')->namedlink("$data->{id}.$data->{extension}", sprintf "%.2fKB", $data->{size}/1024);
This page took 0.026197 seconds and 4 git commands to generate.