diff --git a/app/views/problems/stat.html.erb b/app/views/problems/stat.html.erb new file mode 100644 --- /dev/null +++ b/app/views/problems/stat.html.erb @@ -0,0 +1,28 @@ +

Problem stat: <%= @problem.name %>

+ +This is just a hack. Really not efficient.

+ +<% if @submissions!=nil %> + + + + + + + + + <% count = 0 %> + <% @submissions.each do |sub| %> + "> + + + + + + + <% count += 1 %> + <% end %> +
loginnamesubmitted_atpointscomment
<%= sub.user.login %><%= sub.user.full_name if sub.user %><%= sub.submitted_at.to_s %><%= sub.points %>
<%= sub.grader_comment %>
+<% else %> +No submission +<% end %>