1f04b15f7febfdaed0024bbc08bf7b7d4f626395
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUser / IndexListRow.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <tr class="db_list_normal">
4 <td class="col-icon">
5 <a href="#" onClick="showClickmenu('be_users', '{backendUser.uid}', '1', '', '', ''); return false;" title="id={backendUser.uid}">
6 <bu:spriteIconForRecord table="be_users" object="{backendUser}" />
7 </a>
8 </td>
9 <td>
10 <b>{backendUser.userName}</b>
11 </td>
12 <td>{backendUser.realName}</td>
13 <td>
14 <f:link.action
15 action="addToCompareList"
16 arguments="{uid: backendUser.uid}"
17 >
18 <bu:spriteManagerIcon iconName="actions-edit-add"/>
19 <f:translate key="compare">Compare</f:translate>
20 </f:link.action>
21 </td>
22 <td>
23 <a href="#" onclick="top.launchView('be_users', '{backendUser.uid}'); return false;">
24 <bu:spriteManagerIcon iconName="actions-document-info" />
25 </a>
26 <a href="alt_doc.php?edit[be_users][{backendUser.uid}]=edit&returnUrl={returnUrl}">
27 <bu:spriteManagerIcon iconName="actions-document-open" />
28 </a>
29 <f:if condition="{backendUser.isDisabled} == 1">
30 <f:then>
31 <a href="<bu:issueCommand parameters="tce_db.php?&data[be_users][{backendUser.uid}][disable]=0&redirect={redirectUrl}" />">
32 <bu:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" />
33 </a>
34 </f:then>
35 <f:else>
36 <a href="<bu:issueCommand parameters="tce_db.php?&data[be_users][{backendUser.uid}][disable]=1&redirect={redirectUrl}" />">
37 <bu:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" />
38 </a>
39 </f:else>
40 </f:if>
41 <f:comment>
42 No need to check if currently listed user is current user.
43 SU does not work with admin users and current user must always be admin.
44 Only admin users may use the backend user administration.
45 </f:comment>
46 <f:if condition="{backendUser.active} == 1">
47 <bu:SU backendUser="{backendUser}" emulate="FALSE" />
48 <bu:SU backendUser="{backendUser}" emulate="TRUE" />
49 </f:if>
50 </td>
51 <td>
52 <f:if condition="{backendUser.lastLoginDateAndTime}">
53 <f:then>
54 <f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>
55 </f:then>
56 <f:else>
57 <f:translate key="never">Never</f:translate>
58 </f:else>
59 </f:if>
60 </td>
61 </tr>