<% if apps.any? %> <% block_width = "#{100/per_row}%" block_height ||= "130px;" %>
<%=render(:partial => "paginator", :locals => {:apps => apps, :element_id => "suggested_apps"})%> <%=tr(Platform::Config.suggested_apps_title)%>
<% apps.each_with_index do |app, index| %> <% if (index+1) % per_row == 0 %> <% end %> <% end %> <% 0.upto(per_row - (apps.size % per_row)-1).each do %> <% end %>
<%= link_to(h(app.short_name), {:action => :view, :id => app.id}) %>
<%= link_to(image_tag(app.logo_url), {:action => :view, :id => app.id}) %>
<%= platform_app_rank_tag(app) %>
 
<% end %>