[TASK] Improve LogEntries partial performance 64/51464/2
authorClaus Due <claus@namelesscoder.net>
Mon, 30 Jan 2017 10:06:56 +0000 (11:06 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 30 Jan 2017 10:52:44 +0000 (11:52 +0100)
commit8093cb002f3c63e0eca3dc381a5556f57de29298
tree871d3e83a8cd0a1aa64cc4dfe418b701bdf12757
parented293f914efff42f01fc85e33aa6c67df4f16a1c
[TASK] Improve LogEntries partial performance

This patch avoids `f:switch` in the partial template,
since this ViewHelper is not compilable in the
version provided as override from TYPO3 CMS.

The patch also adds the CompileWithRenderStatic
trait to a ViewHelper used frequently in that partial.

Change-Id: I768e43e7c70a17fef04c28774169d4b3badb310b
Resolves: #79542
Releases: master
Reviewed-on: https://review.typo3.org/51464
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/belog/Classes/ViewHelpers/ErrorIconViewHelper.php
typo3/sysext/belog/Resources/Private/Partials/Content/LogEntries.html