{ "sEcho": <%=h params[:sEcho].to_i || -1 %>, "iTotalRecords": <%= @total_projects %>, "iTotalDisplayRecords": <%= @total_project %>, "aaData": [ <% @projects.each do |project| %> [ "<%=( "
" + j(image_tag(visibility_icon(project.visibility))) + "
" + "
" + j(link_to("#{project.owner.respond_to?(:uname) ? project.owner.uname : project.owner.name} / #{project.name}", project)) + "
").html_safe %>", "<%= truncate(project.description || '', :length => 60).gsub("\n", ' ').gsub("\r", ' ') %>", "<%= if can? :remove_project, @repository j(link_to(' '.html_safe, remove_project_platform_repository_path(@platform, @repository, :project_id => project.id), :method => :delete, :confirm => t("layout.confirm") ) ) else '' end %>" ]<%= project == @projects.last ? '' : ',' %> <% end %> ] }