[BUGFIX] Avoid prev/next arrows if only 1 system news is shown 75/57275/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 20 Jun 2018 17:15:30 +0000 (19:15 +0200)
committerNicole Cordes <typo3@cordes.co>
Thu, 21 Jun 2018 08:47:24 +0000 (10:47 +0200)
commit6ef18747852a8f9eeca0c061df41cba1aab04043
tree5a1ba4902e186c02bcd9474f7d8d21dd38b05590
parent9c161c296cd2acc52fe87050851ffa7651d6d186
[BUGFIX] Avoid prev/next arrows if only 1 system news is shown

If only one system news is shown, it makes no sense to render arrows
to switch to other news records. Therefore those should only be
shown if there are at least 2 records.

Resolves: #85322
Releases: master, 8.7
Change-Id: I636b90121729bb2f12c2313a3cb7e8b858367970
Reviewed-on: https://review.typo3.org/57275
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Resources/Private/Partials/LoginNews.html