philomena/lib/philomena_web/templates/pagination/_pagination_info.html.slime
byte[] d4d4ee0e2d various fixes:
add base line-height: 1.5em
add appropriate placeholder color to inputs
show number of faves on fave index
link to correct location in watched images list on activity page
don't show pagination info when there are no results
don't create a source history entry if the source wasn't changed
2019-12-10 19:41:29 -05:00

16 lines
No EOL
333 B
Text

= if @page.total_entries > 0 do
' Showing
=> pluralize("result", "results", @page.total_entries)
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
- else
' No results found