管理员统计

dev_aliyun
jingquan huang 5 years ago
parent a88ff8355b
commit fa49ca6b10

@ -36,7 +36,8 @@
<td><%= record.front_js %></td>
<td><%= record.test_cases %></td>
<td><%= format_time record.created_at %></td>
<td><%= record.shixun.try(:exec_time) %></td>
<% challenge = Game.find_by(record.game_id).challenge %>
<td><%= challenge.try(:exec_time) %></td>
<td><%= record.shixun.try(:identifier) %></td>
<td><%= link_to record.shixun.try(:name), task_path(record.game), :target => "_blank", :title => "#{record.shixun.try(:name)}" %></td>
</tr>

Loading…
Cancel
Save