From 9e4fc669912da7cb92ca8d42fb5ecd1bfb0b6e0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Frank=20N=C3=A4gler?= <typo3@naegler.net>
Date: Sat, 29 Nov 2014 15:52:54 +0100
Subject: [PATCH] [TASK] User table: control-icons as right column

Backend-User module:
move control-icons to the right column

Resolves: #63249
Releases: master
Change-Id: I36af91574e80069472ff19483431ee19d0589c1c
Reviewed-on: http://review.typo3.org/34766
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
---
 .../Partials/BackendUser/IndexListRow.html    | 20 +++++++++----------
 .../Private/Templates/BackendUser/Index.html  |  2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html b/typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html
index d025be13a921..b85ee575a277 100644
--- a/typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html
+++ b/typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html
@@ -12,6 +12,16 @@
 			{backendUser.realName}
 		</a>
 	</td>
+	<td>
+		<f:if condition="{backendUser.lastLoginDateAndTime}">
+			<f:then>
+				<f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>
+			</f:then>
+			<f:else>
+				<f:translate key="never" />
+			</f:else>
+		</f:if>
+	</td>
 	<td class="col-control">
 		<f:link.action action="addToCompareList" arguments="{uid: backendUser.uid}" class="btn"><bu:spriteManagerIcon iconName="actions-edit-add"/> <f:translate key="compare" /></f:link.action>
 		<div class="btn-group" role="group">
@@ -36,14 +46,4 @@
 			<bu:SwitchUser backendUser="{backendUser}" />
 		</div>
 	</td>
-	<td>
-		<f:if condition="{backendUser.lastLoginDateAndTime}">
-			<f:then>
-				<f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>
-			</f:then>
-			<f:else>
-				<f:translate key="never" />
-			</f:else>
-		</f:if>
-	</td>
 </tr>
diff --git a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html
index 941b324f6dbe..7b5ec08ca08c 100644
--- a/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html
+++ b/typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html
@@ -57,8 +57,8 @@
 					<tr>
 						<th class="col-icon"></th>
 						<th class="col-title"><f:translate key="userName" /> / <f:translate key="realName" /></th>
-						<th class="col-control"></th>
 						<th><f:translate key="lastLogin" /></th>
+						<th class="col-control"></th>
 					</tr>
 				</thead>
 				<tbody>
-- 
GitLab