From: Marius Gavrilescu Date: Wed, 4 Feb 2015 08:03:28 +0000 (+0200) Subject: Include job format in job log table X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=5b5b261c23f93d3b4835035a0ac369bf89c1e26b;p=plack-app-gruntmaster.git Include job format in job log table --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index dc74d87..3fe23e3 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -225,6 +225,7 @@ sub process_log { $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('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); $tr->fclass('size')->attr('data-private', '') if $data->{private}; $tr->fclass('owner')->namedlink($data->{owner}, $data->{owner_name}); diff --git a/tmpl/log.en b/tmpl/log.en index eb4bf6f..f6e5097 100644 --- a/tmpl/log.en +++ b/tmpl/log.en @@ -1,10 +1,11 @@ - +
IDProblemDateSizeUserResult
IDProblemDateFormatSizeUserResult
Job ID Problem name Date +Format 3.14KB Owner name