2014-03-17 22:43:38 +08:00
|
|
|
<% if @save_flag %>
|
|
|
|
<% if Rails.env.development? %>
|
|
|
|
console.debug('课程修改成功:结束时间改为<%=Course.find_by_extra(@project.identifier).try(:endup_time)%>');
|
|
|
|
<% end %>
|
2014-04-21 08:39:49 +08:00
|
|
|
$('#finish_course_<%=@project.id%>').replaceWith("<%= j(render partial: 'courses/set_course_time', :locals => {:project => @project} )%>")
|
2014-03-17 22:43:38 +08:00
|
|
|
<% else %>
|
2014-05-06 09:16:48 +08:00
|
|
|
alert('权限不足,设置失败,请在论坛提交问题,等待管理员处理。');
|
2014-03-17 22:43:38 +08:00
|
|
|
<% end %>
|