Description:
added options not to hide passed problems
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r260:a6455c18d017 - - 2 files changed: 6 inserted, 2 deleted
@@ -315,7 +315,6 | |||||
|
315 | end |
|
315 | end |
|
316 | @submission_timeouts[problem.id] = timeout |
|
316 | @submission_timeouts[problem.id] = timeout |
|
317 | end |
|
317 | end |
|
318 | - @submission_timeouts.each_pair {|k,v| puts "#{k} => #{v}"} |
|
||
|
319 | end |
|
318 | end |
|
320 |
|
319 | ||
|
321 | def prepare_list_information |
|
320 | def prepare_list_information |
@@ -343,7 +342,11 | |||||
|
343 | end |
|
342 | end |
|
344 | end |
|
343 | end |
|
345 |
|
344 | ||
|
346 | - @problems = all_problems.reject { |problem| passed.has_key? problem.id } |
|
345 | + if (not defined? HIDE_PASSED_TASKS) or HIDE_PASSED_TASKS |
|
|
346 | + @problems = all_problems.reject { |problem| passed.has_key? problem.id } | ||
|
|
347 | + else | ||
|
|
348 | + @problems = all_problems | ||
|
|
349 | + end | ||
|
347 |
|
350 | ||
|
348 | prepare_timeout_information(@problems) |
|
351 | prepare_timeout_information(@problems) |
|
349 |
|
352 |
@@ -109,3 +109,4 | |||||
|
109 | CODEJOM_MAX_ALIVE_LEVEL = 10 |
|
109 | CODEJOM_MAX_ALIVE_LEVEL = 10 |
|
110 | TEST_ASSIGNMENT_EXPIRATION_DURATION = 5.minute |
|
110 | TEST_ASSIGNMENT_EXPIRATION_DURATION = 5.minute |
|
111 | SHOW_CONTEST_STATUS = false |
|
111 | SHOW_CONTEST_STATUS = false |
|
|
112 | + HIDE_PASSED_TASKS = true No newline at end of file |
You need to be logged in to leave comments.
Login now