mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
13 lines
258 B
Text
13 lines
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
|