[BUGFIX] excludeFromUpdates flag ignored 19/23519/3
authorFrancois Suter <francois@typo3.org>
Wed, 14 Aug 2013 11:51:22 +0000 (13:51 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 9 Sep 2013 20:07:45 +0000 (22:07 +0200)
Since the 6.0 Extension Manager, the "excludeFromUpdates" state
is ignored. It should be checked for and the update button in the
list view hidden in such a case.

Resolves: #51018
Releases: 6.0, 6.1, 6.2
Change-Id: I734331d1b85728dc86732f66ad495a9f83cd0aca
Reviewed-on: https://review.typo3.org/23519
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html

index 0216a29..62fe427 100644 (file)
                                </f:if>
                                <td>
                                        <f:if condition="{extension.updateAvailable}">
-                                               <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:if condition="{extension.state} != 'excludeFromUpdates'">
+                                                       <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:if>
                                        </f:if>
                                </td>
                                <td>