Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
sends mass emails
Commit Description:
sends mass emails
< h1 > User grading results </ h1 >
< table class = "info" >
< tr class = "info-head" >
< th > User </ th >
< th > Name </ th >
< th > Activated? </ th >
< th > Logged in </ th >
< th > Contest(s) </ th >
<% @problems . each do | p | %>
< th > <%= p . name %> </ th >
<% end %>
< th > Total </ th >
< th > Passed </ th >
</ tr >
<% counter = 0 %>
<% @scorearray . each do | sc | %>
< tr class = " <%= ( counter % 2 == 0 ) ? "info-even" : "info-odd" %> " >
<% total = 0 %>
<% num_passed = 0 %>
<% sc . each_index do | i | %>
<% if i == 0 %>
< td > <%= sc [ i ]. login %> </ td >
< td > <%= sc [ i ]. full_name %> </ td >
< td > <%= sc [ i ]. activated %> </ td >
< td >
<%= sc [ i ]. try ( :contest_stat ) . try ( :started_at ) != nil ? 'yes' : 'no' %>
</ td >
< td >
<%= sc [ i ]. contests . collect { | c | c . name } . join ( ', ' ) %>
</ td >
<% else %>
< td > <%= sc [ i ][ 0 ] %> </ td >
<% total += sc [ i ][ 0 ] %>
<% num_passed += 1 if sc [ i ][ 1 ] %>
<% end %>
<% end %>
< td > <%= total %> </ td >
< td > <%= num_passed %> </ td >
</ tr >
<% counter += 1 %>
<% end %>
</ table >
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings