[BUGFIX] Hide empty descriptions in textmedia in page module 93/53093/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 16:04:14 +0000 (18:04 +0200)
commit7b4099f4f0c5c9daf6a890c3639c1537368a927e
tree6b2465ca9d5667e30ebfc21d8575ca0e8f8c9769
parent3461179f75bd4f8905b90cc04a0e77f903820a5c
[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/53093
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php