You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/subjects/publish.js.erb

7 lines
365 B

6 years ago
var htmlvalue = "<%= escape_javascript(render :partial => 'subjects/publish_notice')%>";
pop_box_new(htmlvalue,563,406);
<% if @status == 2 %>
<% Shixun.where(:id => @subject.stage_shixuns.map(&:shixun_id), :status => [0, 1]).each do |shixun| %>
$("#stage_shixun_<%= shixun.id %>").find(".fa-exclamation-circle").parent().show();
<% end %>
<% end %>