mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-24 01:47:59 +01:00
16 lines
334 B
Text
16 lines
334 B
Text
= if @page.total_entries > 0 do
|
|
' Showing
|
|
=> pluralize("result", "results", @page.total_entries)
|
|
|
|
strong
|
|
=> max(((@page.page_number - 1) * @page.page_size), 0) + 1
|
|
' -
|
|
=> min(@page.page_number * @page.page_size, @page.total_entries)
|
|
' of
|
|
|
|
strong
|
|
=> @page.total_entries
|
|
' total
|
|
|
|
- else
|
|
' No results found
|