X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=57591b5da3837d2bb3c8bfcd3e5fec057e9f051a;hb=9da2f4958089ae517865b808be61bb12d43b61de;hp=f3e3236f607d51a60d23c30dd99b8628ff662d00;hpb=a94f84535623ae0de44b63290aa4c8b1bf3e5eaa;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index f3e3236..57591b5 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -7,26 +7,10 @@ use Gruntmaster::Page::Base log_entry => 'Job '; our @ISA = qw/Gruntmaster::Page::Base/; our $VERSION = '0.001'; -use constant TEMPLATES => { - en => <<'HTML', -Compiler output: -
- -Results: - - - -
Test numberResultTime -
- -
-HTML -}; - sub _generate{ - my ($self, $htc, $lang, $logger, $ct, $id) = @_; - debug $logger => "language is '$lang', contest is '$ct' and id is '$id'"; - local $Gruntmaster::Data::contest = $ct; + my ($self, $htc, $lang, $env, $ct, $id) = @_; + debug $env => "language is '$lang', contest is '$ct' and id is '$id'"; + local $Gruntmaster::Data::contest = $ct if $ct; my @tests = ();