mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 05:57:58 +01:00
13 lines
No EOL
258 B
Text
13 lines
No EOL
258 B
Text
' Showing
|
|
= if @page.total_entries == 1 do
|
|
' result
|
|
- else
|
|
' results
|
|
strong
|
|
=> max(((@page.page_number - 1) * @page.page_size) - 1, 1)
|
|
' -
|
|
=> min(@page.page_number * @page.page_size, @page.total_entries)
|
|
' of
|
|
strong
|
|
=> @page.total_entries
|
|
' total |