mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-24 18:07:59 +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 |