5 lines
361 B
Plaintext
5 lines
361 B
Plaintext
<% if @project %>
|
|
$("#show_more_project_news").replaceWith("<%= escape_javascript(render :partial => 'project_news_detail', :locals=>{ :all_news=>@newss,:page => @page})%>");
|
|
<% else %>
|
|
$("#show_more_course_news").replaceWith("<%= escape_javascript( render :partial => 'course_news_detail', :locals =>{:newss => @newss, :page => @page} )%>");
|
|
<% end %> |