Commit 45df951b authored by Gianluigi Martino's avatar Gianluigi Martino Committed by Nicole Cordes
Browse files

[TASK] Make the whole update button in extension manager clickable

The click area of the update button in extension manager was to small.
The click handler is now assigned to the whole button.

Change-Id: I8b2103dcbde5dcc37a7968780719abca384528a1
Resolves: #76136
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/48092

Tested-by: Riccardo De Contardi's avatarRiccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
parent 02a33615
......@@ -41,27 +41,24 @@
</f:if>
<td>
<f:if condition="{extension.updateAvailable}">
<div class="btn-group">
<f:if condition="{extension.state} == 'excludeFromUpdates'">
<f:then>
<span class="btn btn-default disabled" title="{f:translate(key:'extensionList.updateDisabled')}">
<f:if condition="{extension.state} == 'excludeFromUpdates'">
<f:then>
<span class="btn btn-default disabled" title="{f:translate(key:'extensionList.updateDisabled')}">
<core:icon identifier="actions-system-extension-update" />
</span>
</f:then>
<f:else>
<f:link.action action="updateCommentForUpdatableVersions"
class="btn btn-default"
additionalAttributes="{data-action:'update-extension'}"
format="json" controller="Download"
arguments="{extension:extension.key, integerVersionStart: extension.terObject.integerVersion, integerVersionStop: extension.updateToVersion.integerVersion}"
title="{f:translate(key:'extensionList.updateToVersion', arguments:{0:extension.updateToVersion.version})}"
>
<core:icon identifier="actions-system-extension-update" />
</span>
</f:then>
<f:else>
<span class="btn btn-default">
<f:link.action action="updateCommentForUpdatableVersions"
additionalAttributes="{data-action:'update-extension'}"
format="json" controller="Download"
arguments="{extension:extension.key, integerVersionStart: extension.terObject.integerVersion, integerVersionStop: extension.updateToVersion.integerVersion}"
title="{f:translate(key:'extensionList.updateToVersion', arguments:{0:extension.updateToVersion.version})}"
>
<core:icon identifier="actions-system-extension-update" />
</f:link.action>
</span>
</f:else>
</f:if>
</div>
</f:link.action>
</f:else>
</f:if>
</f:if>
</td>
<td data-order="{f:if(condition: extension.installed, then: 'active', else: 'inactive')}">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment