[TASK] Split action buttons into two groups
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUser / IndexListRow.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <tr>
4 <td class="col-icon">
5 <a href="#" class="t3-js-clickmenutrigger" data-table="be_users" data-uid="{backendUser.uid}" data-listframe="1" title="id={backendUser.uid}">
6 <bu:spriteIconForRecord table="be_users" object="{backendUser}" />
7 </a>
8 </td>
9 <td class="col-title">
10 <a href="alt_doc.php?edit[be_users][{backendUser.uid}]=edit&amp;returnUrl={returnUrl}">
11 <b>{backendUser.userName}</b><br />
12 {backendUser.realName}
13 </a>
14 </td>
15 <td>
16 <f:if condition="{backendUser.lastLoginDateAndTime}">
17 <f:then>
18 <f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>
19 </f:then>
20 <f:else>
21 <f:translate key="never" />
22 </f:else>
23 </f:if>
24 </td>
25 <td class="col-control">
26 <f:link.action action="addToCompareList" arguments="{uid: backendUser.uid}" class="btn btn-default"><bu:spriteManagerIcon iconName="actions-edit-add"/> <f:translate key="compare" /></f:link.action>
27 <div class="btn-group" role="group">
28 <a class="btn btn-default" href="#" onclick="top.launchView('be_users', '{backendUser.uid}'); return false;"><bu:spriteManagerIcon iconName="actions-document-info" /></a>
29 <a class="btn btn-default" href="alt_doc.php?edit[be_users][{backendUser.uid}]=edit&amp;returnUrl={returnUrl}"><bu:spriteManagerIcon iconName="actions-document-open" /></a>
30 <f:if condition="{backendUser.currentlyLoggedIn} == 1">
31 <f:then>
32 <span class="btn btn-default disabled"><bu:spriteManagerIcon iconName="empty-empty" /></span>
33 </f:then>
34 <f:else>
35 <f:if condition="{backendUser.isDisabled} == 1">
36 <f:then>
37 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_users][{backendUser.uid}][disable]=0', redirectUrl: redirectUrl)}"><bu:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" /></a>
38 </f:then>
39 <f:else>
40 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_users][{backendUser.uid}][disable]=1', redirectUrl: redirectUrl)}"><bu:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" /></a>
41 </f:else>
42 </f:if>
43 </f:else>
44 </f:if>
45 <bu:removeUser backendUser="{backendUser}" />
46 <bu:SwitchUser backendUser="{backendUser}" />
47 </div>
48 </td>
49 </tr>