From 7f0f55d8d78f78bdc76d6ac3089c6aa085d95be6 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 28 Jan 2014 15:02:32 +0200 Subject: [PATCH] Add compile errors --- lib/Gruntmaster/Data.pm | 2 +- lib/Gruntmaster/Page/Log/Entry.pm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index bf5d2e1..1ca7958 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -76,7 +76,7 @@ sub defhash{ defhash problem => qw/name level statement owner author/; defhash contest => qw/start end name owner/; -defhash job => qw/date extension filesize private problem result result_text user/; +defhash job => qw/date errors extension filesize private problem result result_text user/; defhash user => qw/name email town university level/; sub clean_job (_){ diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index a8abc12..2c4aa3a 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -9,6 +9,10 @@ our $VERSION = '0.001'; use constant TEMPLATES => { en => <<'HTML', +Compiler output: +
+ +Results:
Test numberResultTime @@ -37,6 +41,7 @@ sub _generate{ $htc->param(id => $id); $htc->param(tests => \@tests); + $htc->param(errors => job_errors $id) } 1 -- 2.39.2