[TASK] Use font-awesome icons in ext:version 86/41786/3
authorPhilip Majewski <philip.majewski@data-room.de>
Tue, 21 Jul 2015 18:09:57 +0000 (20:09 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 21 Jul 2015 18:49:33 +0000 (20:49 +0200)
removes the colored icons and uses font awesome as well

Resolves: #68437
Releases: master
Change-Id: I0cbd2ae6e76902a0c60ee1241e0047dde315c406
Reviewed-on: http://review.typo3.org/41786
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/version/Classes/ClickMenu/VersionClickMenu.php

index 049ccbd..13525db 100644 (file)
@@ -1258,7 +1258,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList {
                                        ));
                                        $versionAction = '<a class="btn btn-default" href="' . htmlspecialchars($href) . '" title="'
                                                . $this->getLanguageService()->getLL('displayVersions', TRUE) . '">'
-                                               . IconUtility::getSpriteIcon(('status-version-' . $versionIcon)) . '</a>';
+                                               . '<span class="t3-icon fa fa-refresh"></span>' . '</a>';
                                        $this->addActionToCellGroup($cells, $versionAction, 'version');
                                }
                        }
index fca4cb4..bc27bd5 100644 (file)
@@ -43,7 +43,7 @@ class VersionClickMenu {
                        $url = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('web_txversionM1', array('table' => $table, 'uid' => $uid));
                        $localItems[] = $backRef->linkItem(
                                $GLOBALS['LANG']->getLLL('title', $LL),
-                               $backRef->excludeIcon('<img src="' . $backRef->backPath . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('version') . 'Resources/Public/Icons/module-version.svg" width="15" height="12" border="0" align="top" alt="" />'),
+                               $backRef->excludeIcon('<span class="t3-icon fa fa-refresh"></span>'),
                                $backRef->urlRefForCM($url),
                                TRUE
                        );