[BUGFIX] Exchange view icon based on context in Web->List 36/44436/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 31 Oct 2015 14:43:38 +0000 (15:43 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Oct 2015 15:26:08 +0000 (16:26 +0100)
Resolves: #71198
Releases: master
Change-Id: I15bdee54bdb60d716bf048b45fe81a817c565dc4
Reviewed-on: https://review.typo3.org/44436
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index c44c96e..20a5c23 100644 (file)
@@ -1399,7 +1399,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                         ($table === 'tt_content' ? '#' . $row['uid'] : '')
                     )
                 ) . '" title="' . $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPage', true) . '">'
-                . $this->iconFactory->getIcon('actions-document-view', Icon::SIZE_SMALL)->render() . '</a>';
+                . $this->iconFactory->getIcon('actions-view', Icon::SIZE_SMALL)->render() . '</a>';
             $this->addActionToCellGroup($cells, $viewAction, 'view');
         }
         // "Edit" link: ( Only if permissions to edit the page-record of the content of the parent page ($this->id)