<%=index + 1 %> |
<%= link_to(image_tag(url_to_avatar(exercise.user),:width =>"40",:height => "40",:style => "display:block;", :class => "mt15"),user_activities_path(exercise.user)) %>
|
<%=exercise.user.show_name %>
|
<%= exercise.user.user_extensions.nil? ? "--" : exercise.user.user_extensions.student_id%>
|
--
|
|
<% if exercise.created_at%>
<%= Time.parse(format_time(exercise.created_at)).strftime("%m-%d %H:%M")%>
<% if exercise.commit_status == 0 %>
[未答]
<% end %>
<% end %>
|
<%= exercise.score.nil? ? "--" : format("%.1f",exercise.score)%>
|
|
<% end%>