]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Ct/Entry.pm
Add example test suite
[gruntmaster-page.git] / lib / Gruntmaster / Page / Ct / Entry.pm
index 97089b536852a57fa24243ec9d47578b5672216d..acc076ead75666d4be6147ce3850669e535fd152 100644 (file)
@@ -7,20 +7,9 @@ use Gruntmaster::Page::Base ct_entry => '<tmpl_var name>';
 our @ISA = qw/Gruntmaster::Page::Base/;
 our $VERSION = '0.001';
 
-use constant TEMPLATES => {
-       en => <<'HTML',
-Contest start time: <tmpl_var start><br>
-Contest end time: <tmpl_var end><p>
-
-<tmpl_if started><a href="<tmpl_var id>/pb/">Problems</a><br>
-<a href="<tmpl_var id>/log/">Job log</a><br>
-<a href="<tmpl_var id>/log/st">Standings</a></tmpl_if>
-HTML
-};
-
 sub _generate{
-       my ($self, $htc, $lang, $logger, $id) = @_;
-       debug $logger => "language is '$lang' and id is '$id'";
+       my ($self, $htc, $lang, $env, $id) = @_;
+       debug $env => "language is '$lang' and id is '$id'";
 
        $htc->param(id => $id);
        $htc->param(name => contest_name $id);
This page took 0.021713 seconds and 4 git commands to generate.