mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Show total count when no pagination is applied
If no pagination is applied (or disabled in the settings), there is no view on how many items you have in your library. By showing the pagination text (without the pagination buttons) it's still visible for the user how many items are listed in the library.
This commit is contained in:
parent
7fb1b462e5
commit
53aaa35a3b
2 changed files with 13 additions and 0 deletions
|
@ -90,6 +90,10 @@ export function getQueryPagingHtml (options) {
|
|||
html += '<span style="vertical-align:middle;">';
|
||||
html += globalize.translate('ListPaging', totalRecordCount ? startIndex + 1 : 0, recordsEnd, totalRecordCount);
|
||||
html += '</span>';
|
||||
} else {
|
||||
html += '<span style="vertical-align:middle;">';
|
||||
html += globalize.translate('ListPaging', totalRecordCount ? startIndex + 1 : 0, totalRecordCount, totalRecordCount);
|
||||
html += '</span>';
|
||||
}
|
||||
|
||||
if (showControls || options.viewButton || options.filterButton || options.sortButton || options.addLayoutButton) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue