X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=66dad191b21d052d6ee2967aa4cdc1f3753c7d86;hb=6b5b5f177f66282e6ffb0166b4f73ae933777f9f;hp=2c4aa3acb5cfc1bec533ddf6e673a08e5c80e642;hpb=7f0f55d8d78f78bdc76d6ac3089c6aa085d95be6;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index 2c4aa3a..66dad19 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -13,7 +13,7 @@ Compiler output:
Results: - +
@@ -24,11 +24,9 @@ HTML }; sub _generate{ - my ($self, $htc, $path, $lang) = @_; - - $path =~ m,^(?:ct/([^/]+)/)?log/job/([^/]+)\.html$,; - local $Gruntmaster::Data::contest = $1; - my $id = $2; + 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 = ();
Test numberResultTime