实训报告的开启时间

dev_haigong
cxt 6 years ago
parent 99a47e1c8e
commit ebe9ee145b

@ -76,7 +76,7 @@
<span class="delay ml10">延时</span>
<% end %>
</td>
<td><%= game.try(:open_time).nil? ? "--" : format_time(game.open_time) %></td>
<td><%= game.try(:open_time).nil? || game.status == 3 ? "--" : format_time(game.open_time) %></td>
<% user_query = @game_user_query.select{|user_query| user_query[0] == game.id} %>
<td><%= user_query.blank? ? "--" : user_query.first[1] %></td>
<td><%= game.try(:end_time).nil? ? "--" : format_time(game.end_time) %></td>

Loading…
Cancel
Save