cirandas.net

ref: master

app/views/profile_search/_results_list.html.erb


<% if @results %>
<%= n_("%s result found", "%s results found", @results.total_entries) % @results.total_entries %>
    <% @results.sort_by { |r| r.is_image? ? 0 : 1}.each do |result| %> <%= render :partial => partial_for_class(result.class), :locals => { :article => result } %> <% end %>
<%= pagination_links @results %> <% end %>