[BUGFIX] Hide empty descriptions in textmedia in page module 92/53092/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Sat, 3 Jun 2017 15:30:39 +0000 (17:30 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 3 Jun 2017 15:49:26 +0000 (17:49 +0200)
commitd523c575dd5c288f6c89efc8bae995062341d874
tree9be9e5ba8986dc50671c687421b6a6f06c23120f
parent08cfb71336e7bb877b9e2013ca5357bec98278d3
[BUGFIX] Hide empty descriptions in textmedia in page module

In the Page module with textmedia content elements the descriptions
are shown below the thumbnails of linked media. If there is no
description an empty line is now suppressed.

Resolves: #81408
Releases: master, 8.7, 7.6
Change-Id: I9f342908f179550bcf2156328117c464bb8c672f
Reviewed-on: https://review.typo3.org/53092
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php