From: Marius Gavrilescu Date: Tue, 28 Jan 2014 13:02:32 +0000 (+0200) Subject: Add compile errors X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;ds=inline;h=7f0f55d8d78f78bdc76d6ac3089c6aa085d95be6;hp=746789c0a194d8151e7e9dd830365e218206601f;p=plack-app-gruntmaster.git Add compile errors --- 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