]> iEval git - gruntmaster-data.git/commitdiff
Allow submitting before contest start
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 14:38:35 +0000 (16:38 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 14:38:35 +0000 (16:38 +0200)
lib/Gruntmaster/Data.pm

index f9e0639b2aa69df1d68d552e57dae3f75912008c..b516ea8ad0b3308a93fb577bb3885826e8a6b7fd 100644 (file)
@@ -104,7 +104,7 @@ sub problem_entry {
        +{
                $pb->get_columns,
                owner_name => $pb->owner->name,
-               cansubmit => $running || !$contest,
+               cansubmit => !$contest || !$contest->is_finished,
                $running ? (
                        contest_start => $contest->start,
                        contest_stop => $contest->stop,
This page took 0.022456 seconds and 4 git commands to generate.