diff --git a/typo3/sysext/beuser/Classes/Controller/BackendUserController.php b/typo3/sysext/beuser/Classes/Controller/BackendUserController.php index 99e7287eff147b59bc6184e49c43d09e25ce3948..10eba5b6f5e616b4c41ca3b628015d10f56bb2a8 100644 --- a/typo3/sysext/beuser/Classes/Controller/BackendUserController.php +++ b/typo3/sysext/beuser/Classes/Controller/BackendUserController.php @@ -195,6 +195,14 @@ class BackendUserController extends BackendUserActionController $compareUserList = $this->moduleData->getCompareUserList(); $this->view->assign('dateFormat', $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy']); $this->view->assign('timeFormat', $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm']); + $returnUrl = BackendUtility::getModuleUrl( + 'system_BeuserTxBeuser', + [ + 'tx_beuser_system_beusertxbeuser[action]' => 'compare', + 'tx_beuser_system_beusertxbeuser[controller]' => 'BackendUser' + ] + ); + $this->view->assign('returnUrl', rawurlencode($returnUrl)); $this->view->assign('compareUserList', !empty($compareUserList) ? $this->backendUserRepository->findByUidList($compareUserList) : ''); } diff --git a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html index a1652a3f40aedd1f3c25ba22503695e0642e43f8..03e3c7f4af2bf7af23f98fe2ce6373a6a52c7238 100644 --- a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html +++ b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html @@ -19,6 +19,9 @@ <be:avatar backendUser="{compareUser.uid}" showIcon="true" /> </a> {compareUser.userName} + <a class="btn btn-default pull-right" href="{bu:editRecord(parameters: 'edit[be_users][{compareUser.uid}]=edit&returnUrl={returnUrl}')}" title="edit"> + <core:icon identifier="actions-open" /> + </a> </th> </f:for> </tr>