Description:
modernized from == nil should be changed to nil?
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r575:7190ed55d920 - - 1 file changed: 2 inserted, 2 deleted

@@ -1,17 +1,17
1 1
2 - - if submission==nil
2 + - if submission.nil?
3 3 = "-"
4 4 - else
5 - - if submission.graded_at==nil
5 + - if submission.graded_at.nil?
6 6 =t 'main.submitted_at'
7 7 = format_short_time(submission.submitted_at.localtime)
8 8 - else
9 9 = t 'main.graded_at'
10 10 = "#{format_short_time(submission.graded_at.localtime)}, "
11 11 - if GraderConfiguration['ui.show_score']
12 12 = t 'main.score'
13 13 = "#{(submission.points*100/submission.problem.full_score).to_i} "
14 14 = " ["
15 15 %tt
16 16 = submission.grader_comment
17 17 = "]"
You need to be logged in to leave comments. Login now