From 700be7c49315ad999805c4069391c1fb468fc860 Mon Sep 17 00:00:00 2001 From: Josef Glatz Date: Tue, 6 Aug 2019 07:22:18 +0200 Subject: [PATCH] [TASK] Update user list item You can do the following from now: * Trigger contextmenu of backend user record (by clicking on the avatar/icon) * Edit backend user record (by clicking on the username or realName) * Show element information popup (by clicking on the Info-Button) * Switch to the backend user (by clicking on the Switch-Button) --- README.md | 14 +++- Resources/Private/Partials/UserList.html | 85 ++++++++++++------------ 2 files changed, 53 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 6637c1b..5da3e62 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,19 @@ Fast Backend User Switch (TYPO3 Extension `beuser_fastswitch`) You can search users by **`realName`**, **`username`**, **`email`** or **unique ID `uid`**. -The results are ordered by `lastlogin DESC`. +### Ordering of listed users -### The default user list +The results are always ordered by `lastlogin DESC`. Since this speeds up +also the support if some editor is calling you that something isn't +working. You can then easily switch to the backend user without +searching for it. -shows you all non-admin users sorted by `lastlogin DESC`. +### User list item features + +* Trigger contextmenu of backend user record (by clicking on the avatar/icon) +* Edit backend user record (by clicking on the username or realName) +* Show element information popup (by clicking on the Info-Button) +* Switch to the backend user (by clicking on the Switch-Button) ## Screenshots and Demos diff --git a/Resources/Private/Partials/UserList.html b/Resources/Private/Partials/UserList.html index 57b58d0..31bf7b4 100644 --- a/Resources/Private/Partials/UserList.html +++ b/Resources/Private/Partials/UserList.html @@ -1,47 +1,46 @@ - - - -
-
- - - -
-
- - {user.realName} - - {user.username} -
-
- - -
-
-
-
-
+ xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers" + xmlns:bu="http://typo3.org/ns/TYPO3/CMS/Beuser/ViewHelpers" + xmlns:buf="http://typo3.org/ns/JosefGlatz/BeuserFastswitch/ViewHelpers" + data-namespace-typo3-fluid="true"> + + + + + + + - - - - - + + + + + - - - + + +