[TASK] Twitter Bootstrap EXT:beuser follow up
[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="#" 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="t3-title-column">
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:link.action action="addToCompareList" arguments="{uid: backendUser.uid}" class="btn"><bu:spriteManagerIcon iconName="actions-edit-add"/> <f:translate key="compare" /></f:link.action>
17 </td>
18 <td class="col-control">
19 <div class="btn-group" role="group">
20 <a class="btn" href="#" onclick="top.launchView('be_users', '{backendUser.uid}'); return false;"><bu:spriteManagerIcon iconName="actions-document-info" /></a>
21 <a class="btn" href="alt_doc.php?edit[be_users][{backendUser.uid}]=edit&amp;returnUrl={returnUrl}"><bu:spriteManagerIcon iconName="actions-document-open" /></a>
22 <f:if condition="{backendUser.currentlyLoggedIn} == 1">
23 <f:then>
24 <span class="btn disabled"><bu:spriteManagerIcon iconName="empty-empty" /></span>
25 </f:then>
26 <f:else>
27 <f:if condition="{backendUser.isDisabled} == 1">
28 <f:then>
29 <a class="btn" href="{bu:issueCommand(parameters: 'data[be_users][{backendUser.uid}][disable]=0', redirectUrl: redirectUrl)}"><bu:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" /></a>
30 </f:then>
31 <f:else>
32 <a class="btn" href="{bu:issueCommand(parameters: 'data[be_users][{backendUser.uid}][disable]=1', redirectUrl: redirectUrl)}"><bu:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" /></a>
33 </f:else>
34 </f:if>
35 </f:else>
36 </f:if>
37 <bu:removeUser backendUser="{backendUser}" />
38 <bu:SwitchUser backendUser="{backendUser}" />
39 </div>
40 </td>
41 <td class="hidden-xs hidden-sm">
42 <f:if condition="{backendUser.lastLoginDateAndTime}">
43 <f:then>
44 <f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>
45 </f:then>
46 <f:else>
47 <f:translate key="never" />
48 </f:else>
49 </f:if>
50 </td>
51 </tr>