From 8dcaedde77fa62f045ac70f3dc57fe76e3ca610d Mon Sep 17 00:00:00 2001 From: Daniel Windloff <daniel.jc.windloff@googlemail.com> Date: Fri, 2 Jun 2017 15:15:46 +0200 Subject: [PATCH] [TASK] Use actions-remove to remove items from list Replaced icons: -icon-actions-selection-delete -icon-actions-close Use actions-remove for remove items from list actions, that do not change db entries. Resolves: #81422 Releases: master Change-Id: I8d11eea1e5801118ebe91faa04187ecda14e5a80 Reviewed-on: https://review.typo3.org/53039 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de> Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../Private/Partials/Clipboard/TabContent.html | 16 +++++++++------- .../Private/Templates/Clipboard/Main.html | 2 +- .../Private/Templates/BackendUser/Index.html | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html b/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html index 3ba2e5e4f72f..ac8f4ddd3093 100644 --- a/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html +++ b/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html @@ -22,23 +22,25 @@ </f:if> </td> <td class="col-control nowrap"> - <div class="btn-group"> - <f:if condition="{content.infoLink}"> + <f:if condition="{content.infoLink}"> + <div class="btn-group"> <a class="btn btn-default" href="#" onclick="{content.infoLink}" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.info')}"> <f:format.raw> <core:icon identifier="actions-document-info" alternativeMarkupIdentifier="inline"/> </f:format.raw> </a> - </f:if> - <f:if condition="{content.removeLink}"> + </div> + </f:if> + <f:if condition="{content.removeLink}"> + <div class="btn-group"> <a class="btn btn-default" href="{content.removeLink}#clip_head" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.removeItem')}"> <f:format.raw> - <core:icon identifier="actions-selection-delete" alternativeMarkupIdentifier="inline"/> + <core:icon identifier="actions-remove" alternativeMarkupIdentifier="inline"/> </f:format.raw> </a> - </f:if> - </div> + </div> + </f:if> </td> </tr> diff --git a/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html b/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html index d42da6263054..dd6e5f9159e2 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html +++ b/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html @@ -18,7 +18,7 @@ <f:if condition="{elementCount}"> <a href="{removeAllUrl}#clip_head" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:buttons.clear')}" class="btn btn-danger"> - <f:format.raw><core:icon identifier="actions-close" alternativeMarkupIdentifier="inline"></core:icon></f:format.raw> + <f:format.raw><core:icon identifier="actions-remove" alternativeMarkupIdentifier="inline"></core:icon></f:format.raw> </a> </f:if> </td> diff --git a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html index e53cf75f801d..5b8b334b7171 100644 --- a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html +++ b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html @@ -29,7 +29,7 @@ </td> <td> <f:link.action action="removeFromCompareList" arguments="{uid: compareUser.uid}" class="pull-right btn btn-default"> - <core:icon identifier="actions-selection-delete" /> + <core:icon identifier="actions-remove" /> </f:link.action> </td> </tr> -- GitLab