[BUGFIX] Avoid prev/next arrows if only 1 system news is shown 78/57278/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 09:14:43 +0000 (11:14 +0200)
commit40a5ff476d510e3ce991b5898f5a17bed4dfac18
tree83918cdb403998ceed3fed9c81db0dbc6da43b28
parenteb793171674ad5b2bdafb60def76116b21327eeb
[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/57278
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Resources/Private/Partials/LoginNews.html