[TASK] Add btn-group to ext:beuser
[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 class="col-control">
9 <div class="btn-group" role="group">
10 <a class="btn" href="#" onclick="top.launchView('be_users', '{onlineUser.backendUser.uid}',''); return false;">
11 <bu:SpriteManagerIcon iconName="actions-document-info" />
12 </a>
13 </div>
14 </td>
15
16 <f:for each="{onlineUser.sessions}" as="session" key="sessionKey">
17 <f:if condition="{sessionKey} > 0">
18 <f:then>
19 <tr class="db_list_normal">
20 <td colspan="2"></td>
21 </f:then>
22 </f:if>
23 <td>
24 <f:format.date format="{dateFormat} {timeFormat}" date="@{session.timestamp}" />
25 </td>
26 <td>{session.ip}</td>
27 <td>
28 <f:if condition="{currentSessionId} == {session.id}">
29 <f:else>
30 <f:link.action
31 action="terminateBackendUserSession"
32 controller="BackendUser"
33 arguments="{backendUser: onlineUser.backendUser, sessionId: session.id}"
34 onclick="javascript:return confirm('{f:translate(key: \"reallyLogout\")} {onlineUser.backendUser.userName}?');"
35 >
36 <bu:spriteManagerIcon iconName="actions-document-close" />
37 <f:translate key="endSession">End session</f:translate>
38 </f:link.action>
39 </f:else>
40 </f:if>
41 </td>
42 </tr>
43 </f:for>