[BUGFIX] Adapt sorting arrows in EXT:filelist to Font Awesome 71/36771/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 9 Feb 2015 14:00:36 +0000 (15:00 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Mon, 9 Feb 2015 19:24:06 +0000 (20:24 +0100)
The sorting arrows in the table header sorting are adapted to the
monochrome versions in Font Awesome.

Resolves: #63234
Releases: master
Change-Id: Ic73ccb0bccb7e0dc7df614e75d4643c443fbe292
Reviewed-on: http://review.typo3.org/36771
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/t3skin/Classes/Slot/IconStyleModifier.php

index e46fc33..33c3d5e 100644 (file)
@@ -789,7 +789,7 @@ class FileList extends AbstractRecordList {
                        $sortArrow = '';
                }
                $href = GeneralUtility::resolveBackPath(($GLOBALS['BACK_PATH'] . $this->script)) . '&id=' . rawurlencode($folderIdentifier) . $params;
-               return '<a href="' . htmlspecialchars($href) . '">' . $code . $sortArrow . '</a>';
+               return '<a href="' . htmlspecialchars($href) . '">' . $code . ' ' . $sortArrow . '</a>';
        }
 
        /**
index 8b50d47..91c21e4 100644 (file)
@@ -116,6 +116,8 @@ class IconStyleModifier {
                't3-icon t3-icon-status t3-icon-status-status t3-icon-status-permission-denied' => 'fa-minus-square',
                't3-icon t3-icon-status t3-icon-status-status t3-icon-status-permission-granted' => 'fa-check-circle-o',
                't3-icon t3-icon-status t3-icon-status-status t3-icon-status-readonly' => 'fa-lock',
+               't3-icon t3-icon-status t3-icon-status-status t3-icon-status-sorting-light-asc' => 'fa-angle-up',
+               't3-icon t3-icon-status t3-icon-status-status t3-icon-status-sorting-light-desc' => 'fa-angle-down',
                't3-icon t3-icon-status t3-icon-status-warning t3-icon-warning-lock' => 'fa-lock',
                't3-icon t3-icon-status t3-icon-status-status t3-icon-status-checked' => 'fa-check',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-move sortableHandle' => 'fa-reorder sortableHandle',