Description:
add section information
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r510:89d1f8d661ec - - 1 file changed: 2 inserted, 0 deleted

@@ -28,12 +28,13
28 28 %tr
29 29 %th User
30 30 %th Name
31 31 %th Activated?
32 32 %th Logged in
33 33 %th Contest(s)
34 + %th Section
34 35 - @problems.each do |p|
35 36 %th= p.name
36 37 %th Total
37 38 %th Passed
38 39 %tbody
39 40 - @scorearray.each do |sc|
@@ -43,12 +44,13
43 44 - if i == 0
44 45 %td= link_to sc[i].login, controller: 'users', action: 'profile', id: sc[i]
45 46 %td= sc[i].full_name
46 47 %td= sc[i].activated
47 48 %td= sc[i].try(:contest_stat).try(:started_at)!=nil ? 'yes' : 'no'
48 49 %td= sc[i].contests.collect {|c| c.name}.join(', ')
50 + %td= sc[i].section
49 51 - else
50 52 %td= sc[i][0]
51 53 - total += sc[i][0]
52 54 - num_passed += 1 if sc[i][1]
53 55 %td= total
54 56 %td= num_passed
You need to be logged in to leave comments. Login now