]> iEval git - gruntmaster-data.git/commitdiff
Add a finished key to contest_entry
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 14:31:13 +0000 (16:31 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 14:31:13 +0000 (16:31 +0200)
lib/Gruntmaster/Data.pm

index ed40c3744ca5582ee3fb6001a31512548bf7c3ff..40751bed17ca6c02cd05b04e8beb3c3f16880630 100644 (file)
@@ -132,7 +132,7 @@ sub contest_list {
 sub contest_entry {
        my ($self, $id) = @_;
        my $ct = $self->contest($id);
-       +{ $ct->get_columns, started => !$ct->is_pending, owner_name => $ct->owner->name }
+       +{ $ct->get_columns, started => !$ct->is_pending, finished => $ct->is_finished, owner_name => $ct->owner->name }
 }
 
 sub job_list {
This page took 0.031493 seconds and 4 git commands to generate.