|
|
|
@ -351,10 +351,10 @@
|
|
|
|
|
<%= agree_link '发送短信提醒', send_message_admins_competition_competition_stage_path(@competition, stage, element: ".send-message-#{stage.id}"),
|
|
|
|
|
class: 'btn btn-outline-primary ml20', 'data-confirm': '确认执行发送短信操作?' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# if stage.max_end_time && stage.max_end_time < Time.now && Time.now < Time.at(stage.max_end_time.to_i + 30*24*3600) %>
|
|
|
|
|
<% if stage.max_end_time && stage.max_end_time < Time.now && Time.now < Time.at(stage.max_end_time.to_i + 30*24*3600) %>
|
|
|
|
|
<%= agree_link '计算成绩', calculate_stage_score_admins_competition_competition_stage_path(@competition, stage, element: ".calculate-score-#{stage.id}"),
|
|
|
|
|
class: 'btn btn-outline-primary ml20', 'data-confirm': '确认执行计算成绩操作?' %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<%= delete_link '删除', admins_competition_competition_stage_path(competition_id: @competition.id, id: stage.id), class: 'btn btn-default delete-stage ml20' %>
|
|
|
|
|
<a href="javascript:void(0)" class="btn btn-outline-primary export-action update-stage ml20">保存</a>
|
|
|
|
|