[TASK] EM: Fix icon leftovers 14/37514/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 4 Mar 2015 08:10:51 +0000 (09:10 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 4 Mar 2015 19:14:10 +0000 (20:14 +0100)
The "Update extension" task uses an FA icon now. The obsolete file
"ExtensionUpdateScript.png" is removed.

Resolves: #65500
Releases: master
Change-Id: If527b0e8fd77a059c8b25db16a926c5c80356331
Reviewed-on: http://review.typo3.org/37514
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
typo3/sysext/extensionmanager/Resources/Public/Images/Icons/ExtensionUpdateScript.png [deleted file]
typo3/sysext/t3skin/Classes/Slot/IconStyleModifier.php

index b18cead..d851598 100644 (file)
                                </f:if>
                                <td>
                                        <f:if condition="{extension.updateAvailable}">
-                                               <f:if condition="{extension.state} == 'excludeFromUpdates'">
-                                                       <f:then>
-                                                               <f:be.buttons.icon
-                                                                       icon="actions-system-extension-update-disabled"
-                                                                       title="{f:translate(key:'extensionList.updateDisabled')}"
-                                                               />
-                                                       </f:then>
-                                                       <f:else>
-                                                               <f:be.buttons.icon
-                                                                       uri="{f:uri.action(action:'updateCommentForUpdatableVersions',controller:'Download',arguments:{extension:extension.key, integerVersion: extension.terObject.integerVersion},format:'json')}"
-                                                                       icon="actions-system-extension-update"
-                                                                       title="{f:translate(key:'extensionList.updateToVersion', arguments:{0:extension.updateToVersion.version})}"
-                                                               />
-                                                       </f:else>
-                                               </f:if>
+                                               <div class="btn-group">
+                                                       <f:if condition="{extension.state} == 'excludeFromUpdates'">
+                                                               <f:then>
+                                                                       <span class="btn btn-default disabled">
+                                                                               <f:be.buttons.icon
+                                                                                       icon="actions-system-extension-update"
+                                                                                       title="{f:translate(key:'extensionList.updateDisabled')}"
+                                                                               />
+                                                                       </span>
+                                                               </f:then>
+                                                               <f:else>
+                                                                       <span class="btn btn-default">
+                                                                               <f:be.buttons.icon
+                                                                                       uri="{f:uri.action(action:'updateCommentForUpdatableVersions',controller:'Download',arguments:{extension:extension.key, integerVersion: extension.terObject.integerVersion},format:'json')}"
+                                                                                       icon="actions-system-extension-update"
+                                                                                       title="{f:translate(key:'extensionList.updateToVersion', arguments:{0:extension.updateToVersion.version})}"
+                                                                               />
+                                                                       </span>
+                                                               </f:else>
+                                                       </f:if>
+                                               </div>
                                        </f:if>
                                </td>
                                <td>
diff --git a/typo3/sysext/extensionmanager/Resources/Public/Images/Icons/ExtensionUpdateScript.png b/typo3/sysext/extensionmanager/Resources/Public/Images/Icons/ExtensionUpdateScript.png
deleted file mode 100644 (file)
index 0e1a712..0000000
Binary files a/typo3/sysext/extensionmanager/Resources/Public/Images/Icons/ExtensionUpdateScript.png and /dev/null differ
index 91c21e4..0ecb471 100644 (file)
@@ -77,6 +77,7 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-download' => 'fa-download',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-install' => 'fa-plus-circle',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-sqldump' => 'fa-database',
+               't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-update' => 'fa-refresh',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-uninstall' => 'fa-minus-square',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-help-open' => 'fa-question-circle',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-list-open' => 'fa-list-alt',