[BUGFIX] Display prev & next icons in workspace module again 59/45159/3
authorGeorg Ringer <georg.ringer@gmail.com>
Sun, 6 Dec 2015 20:10:19 +0000 (21:10 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Mon, 7 Dec 2015 11:52:40 +0000 (12:52 +0100)
As the workspace module is not working with the new icon API yet,
show the icons by adding them in the CSS file directly.

Change-Id: Ib49d8d8ed33034ed0cfdb59a3f2b022fb0ef8fee
Resolves: #71797
Releases: master
Reviewed-on: https://review.typo3.org/45159
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Ralf Merz <info@merzilla.de>
Tested-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/workspaces/Resources/Public/Css/module.css

index 018354e..a1c98ef 100644 (file)
@@ -2321,18 +2321,6 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface
                 'name' => 'play-circle',
             )
         ),
-        'extensions-workspaces-sendtonextstage' => array(
-            'provider' => BitmapIconProvider::class,
-            'options' => array(
-                'source' => 'EXT:workspaces/Resources/Public/Images/version-workspace-sendtonextstage.png'
-            )
-        ),
-        'extensions-workspaces-sendtoprevstage' => array(
-            'provider' => BitmapIconProvider::class,
-            'options' => array(
-                'source' => 'EXT:workspaces/Resources/Public/Images/version-workspace-sendtoprevstage.png'
-            )
-        ),
         'extensions-workspaces-generatepreviewlink' => array(
             'provider' => BitmapIconProvider::class,
             'options' => array(
index 1b58944..b79e023 100644 (file)
@@ -198,11 +198,11 @@ div.x-grid3-row-over img.t3-icon-extensions-workspaces {
 }
 
 img.t3-icon-workspaces-sendtonextstage {
-       background-position: 0 4px !important;
+       background: url(../Images/version-workspace-sendtonextstage.png) no-repeat;
 }
 
 img.t3-icon-workspaces-sendtoprevstage {
-       background-position: 0 4px !important;
+       background: url(../Images/version-workspace-sendtoprevstage.png) no-repeat;
 }
 
 table.t3-workspaces-foldout-contentDiff td.content {