[BUGFIX] Respect timezone in online Backend user list
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUser / OnlineListRow.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <tr class="db_list_normal">
4 <td>
5 <b>{onlineUser.backendUser.userName}</b><br />
6 {onlineUser.backendUser.realName}
7 </td>
8 <td>
9 <a href="#" onclick="top.launchView('be_users', '{onlineUser.backendUser.uid}',''); return false;">
10 <bu:SpriteManagerIcon iconName="actions-document-info" />
11 </a>
12 </td>
13
14 <f:for each="{onlineUser.sessions}" as="session" key="sessionKey">
15 <f:if condition="{sessionKey} > 0">
16 <f:then>
17 <tr class="db_list_normal">
18 <td colspan="2"></td>
19 </f:then>
20 </f:if>
21 <td>
22 <f:format.date format="{dateFormat} {timeFormat}" date="@{session.timestamp}" />
23 </td>
24 <td>{session.ip}</td>
25 <td>
26 <f:if condition="{currentSessionId} == {session.id}">
27 <f:else>
28 <f:link.action
29 action="terminateBackendUserSession"
30 controller="BackendUser"
31 arguments="{backendUser: onlineUser.backendUser, sessionId: session.id}"
32 onclick="javascript:return confirm('{f:translate(key: \"reallyLogout\")} {onlineUser.backendUser.userName}?');"
33 >
34 <bu:spriteManagerIcon iconName="actions-document-close" />
35 <f:translate key="endSession">End session</f:translate>
36 </f:link.action>
37 </f:else>
38 </f:if>
39 </td>
40 </tr>
41 </f:for>