# File app/helpers/application_helper.rb, line 174 def pagination_header(collection) if collection.total_pages < 2 case collection.size when 0; _("No items found") when 1; _("Displaying <b>1</b> item") else; _("Displaying <b>all %d</b> items") % [collection.size] end else _('Displaying items <b>%d - %d</b> of <b>%d</b> in total') % [ collection.offset + 1, collection.offset + collection.length, collection.total_entries ] end end