|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td>第<%= index + 1 %>关</td>
|
|
|
|
|
<td class="<%= game.status == 2 && game.end_time > @homework.end_time ? 'color-red' : '' %>"><%= game.status == 2 ? format_time(game.end_time) : '- -' %></td>
|
|
|
|
|
<td><%= game.status == 2 ? game_spend_time(game.end_time.to_i - game.open_time.to_i) : '- -' %></td>
|
|
|
|
|
<td><%= game.consumes_time %></td>
|
|
|
|
|
<td><%= game.status == 2 ? (game.final_score < 0 ? 0 : cha.score) : '- -' %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
|