2015-12-24 09:57:32 +08:00
|
|
|
<% if @project %>
|
2016-01-21 14:33:31 +08:00
|
|
|
$("#show_more_project_news").replaceWith("<%= escape_javascript(render :partial => 'project_news_detail', :locals=>{ :all_news=>@newss,:page => @page})%>");
|
2015-12-24 09:57:32 +08:00
|
|
|
<% else %>
|
2016-04-29 13:42:58 +08:00
|
|
|
$("#course-newslist").replaceWith('<%= escape_javascript( render :partial => 'users/course_newslist', :locals => {:topics => @newss}) %>');
|
2015-12-24 09:57:32 +08:00
|
|
|
<% end %>
|