From 5b5b261c23f93d3b4835035a0ac369bf89c1e26b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 4 Feb 2015 10:03:28 +0200 Subject: [PATCH] Include job format in job log table --- lib/Plack/App/Gruntmaster/HTML.pm | 1 + tmpl/log.en | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2