From: Marius Gavrilescu Date: Thu, 5 Feb 2015 14:31:13 +0000 (+0200) Subject: Add a finished key to contest_entry X-Git-Tag: 5999.000_014~85 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=a11202e404e4acb3efc376c605c14e1fe9614b86;p=gruntmaster-data.git Add a finished key to contest_entry --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index ed40c37..40751be 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -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 {