[BUGFIX] Fix wrong icon color in Filelist > info popup 42/50242/3
authorFrank Naegler <frank.naegler@typo3.org>
Mon, 17 Oct 2016 10:10:40 +0000 (12:10 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 17 Oct 2016 10:41:48 +0000 (12:41 +0200)
This patch fixes the icon color on the "info" popup (Filelist > Info).
The icon in the "show" button now has the correct color.

Resolves: #78271
Releases: master
Change-Id: Ia0be9433b760c54904589efcf24f2bfe10bad593
Reviewed-on: https://review.typo3.org/50242
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php

index cc810e4..7671d85 100644 (file)
@@ -322,7 +322,7 @@ class ElementInformationController
             if ($url) {
                 $showLink .= '
                                        <a class="btn btn-primary" href="' . htmlspecialchars($url) . '" target="_blank">
-                                               ' . $this->iconFactory->getIcon('actions-document-view', Icon::SIZE_SMALL)->render() . '
+                                               ' . $this->iconFactory->getIcon('actions-document-view', Icon::SIZE_SMALL)->render('inline') . '
                                                ' . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:labels.show')) . '
                                        </a>';
             }