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