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