2016-08-03 11:12:55 +08:00
|
|
|
<%# if @status == 1 || @status == 2 || @status == 3 %>
|
|
|
|
// $("#ajax-modal").html('<%#= escape_javascript( render :partial => 'users/send_notice', :locals => {:status => @status}) %>');
|
|
|
|
// showModal('ajax-modal', '500px');
|
|
|
|
// $('#ajax-modal').siblings().remove();
|
|
|
|
// $('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
|
|
|
// "<a href='javascript:' onclick='hideModal();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
|
|
|
// $('#ajax-modal').parent().css("top","30%").css("left","30%").css("position","fixed").css("border","3px solid #269ac9");
|
|
|
|
<%# else %>
|
2016-04-29 15:46:26 +08:00
|
|
|
<% if params[:is_observe].nil? %>
|
2016-08-03 11:12:55 +08:00
|
|
|
var htmlvalue = "<%= escape_javascript(render :partial => 'users/send_homework_to_course', :locals => {:courses => @course, :user => @user, :send_id => @send_id}) %>";
|
2016-08-05 18:01:11 +08:00
|
|
|
pop_box_new(htmlvalue,460,435);
|
2016-04-29 15:46:26 +08:00
|
|
|
<% else %>
|
|
|
|
$("#send_homework_to_course_form").html("<%= escape_javascript(render :partial => 'users/send_homework_to_course_form', :locals => {:courses => @course, :user => @user, :send_id => @send_id}) %>");
|
|
|
|
<% end %>
|
2016-08-03 11:12:55 +08:00
|
|
|
<%# end %>
|