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