mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Rework mod/match
- Replace classic pager with a start index - Remove q() calls - Ensure template is still loaded even with no results. - Improve Minimal Pager display of next link
This commit is contained in:
parent
c15fd9beb8
commit
1938ec3ebe
2 changed files with 84 additions and 76 deletions
|
@ -169,7 +169,7 @@ class Pager
|
|||
'next' => [
|
||||
'url' => $this->ensureQueryParameter($this->baseQueryString . '&page=' . ($this->getPage() + 1)),
|
||||
'text' => L10n::t('older'),
|
||||
'class' => 'next' . ($displayedItemCount <= 0 ? ' disabled' : '')
|
||||
'class' => 'next' . ($displayedItemCount < $this->getItemsPerPage() ? ' disabled' : '')
|
||||
]
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue