[TASK] Twitter Bootstrap EXT:beuser follow up
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Templates / BackendUser / Compare.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <f:layout name="Default" />
4
5 <f:section name="iconButtons">
6 <f:link.action action="index"><bu:spriteManagerIcon iconName="actions-view-go-back" /></f:link.action>
7 </f:section>
8
9 <f:section name="headline">
10 <h1><f:translate key="compareBackendUsers">Compare backend users</f:translate></h1>
11 </f:section>
12
13 <f:section name="content">
14 <table border="0" cellpadding="0" cellspacing="0" id="tx_beuser_compare" class="t3-table">
15 <thead>
16 <tr class="t3-row-header">
17 <th>&nbsp;</th>
18 <f:for each="{compareUserList}" as="compareUser">
19 <th>
20 <a href="#" class="t3-js-clickmenutrigger" data-table="be_users" data-uid="{compareUser.uid}" data-listframe="1" title="id={compareUser.uid}">
21 <bu:spriteIconForRecord table="be_users" object="{compareUser}" />
22 </a>
23 {compareUser.userName}
24 </th>
25 </f:for>
26 </tr>
27 </thead>
28 <tbody>
29 <tr>
30 <td><h5><f:translate key="realName" /></h5></td>
31 <f:for each="{compareUserList}" as="compareUser">
32 <td>{compareUser.realName}</td>
33 </f:for>
34 </tr>
35 <tr>
36 <td><h5><f:translate key="email" /></h5></td>
37 <f:for each="{compareUserList}" as="compareUser">
38 <td>
39 <f:if condition="{compareUser.email}">
40 <f:then>
41 <f:link.email email="{compareUser.email}" />
42 </f:then>
43 <f:else>
44 -
45 </f:else>
46 </f:if>
47 </td>
48 </f:for>
49 </tr>
50 <tr>
51 <td><h5><f:translate key="admin" /></h5></td>
52 <f:for each="{compareUserList}" as="compareUser">
53 <td>
54 <f:if condition="{compareUser.isAdministrator}">
55 <f:then><f:translate key="yes" /></f:then>
56 <f:else><f:translate key="no" /></f:else>
57 </f:if>
58 </td>
59 </f:for>
60 </tr>
61 <tr>
62 <td><h5><f:translate key="disable" /></h5></td>
63 <f:for each="{compareUserList}" as="compareUser">
64 <td>
65 <f:if condition="{compareUser.isDisabled} == 1">
66 <f:then>
67 <a href="{bu:issueCommand(parameters: 'data[be_users][{compareUser.uid}][disable]=0', redirectUrl: redirectUrl)}">
68 <bu:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" />
69 </a>
70 </f:then>
71 <f:else>
72 <a href="{bu:issueCommand(parameters: 'data[be_users][{compareUser.uid}][disable]=1', redirectUrl: redirectUrl)}">
73 <bu:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" />
74 </a>
75 </f:else>
76 </f:if>
77 </td>
78 </f:for>
79 </tr>
80 <tr>
81 <td><h5><f:translate key="startDateAndTime" /></h5></td>
82 <f:for each="{compareUserList}" as="compareUser">
83 <td>
84 <f:if condition="{compareUser.startDateAndTime}">
85 <f:then>
86 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.startDateAndTime}</f:format.date>
87 </f:then>
88 <f:else>
89 -
90 </f:else>
91 </f:if>
92 </td>
93 </f:for>
94 </tr>
95 <tr>
96 <td><h5><f:translate key="endDateAndTime" /></h5></td>
97 <f:for each="{compareUserList}" as="compareUser">
98 <td>
99 <f:if condition="{compareUser.endDateAndTime}">
100 <f:then>
101 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.endDateAndTime}</f:format.date>
102 </f:then>
103 <f:else>
104 -
105 </f:else>
106 </f:if>
107 </td>
108 </f:for>
109 </tr>
110 <tr>
111 <td><h5><f:translate key="lastLogin" /></h5></td>
112 <f:for each="{compareUserList}" as="compareUser">
113 <td>
114 <f:if condition="{compareUser.lastLoginDateAndTime}">
115 <f:then>
116 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.lastLoginDateAndTime}</f:format.date>
117 </f:then>
118 <f:else>
119 <f:translate key="never" />
120 </f:else>
121 </f:if>
122 </td>
123 </f:for>
124 </tr>
125 <tr>
126 <td><h5><f:translate key="backendUserGroups" /></h5></td>
127 <f:for each="{compareUserList}" as="compareUser">
128 <td>
129 <f:for each="{compareUser.BackendUserGroups}" as="backendUserGroup">
130 <a href="#" class="t3-js-clickmenutrigger" data-table="be_groups" data-uid="{backendUserGroup.uid}" data-listframe="1" title="id={backendUserGroup.uid}">
131 <bu:spriteIconForRecord table="be_users" object="{backendUserGroup}" />
132 </a>
133 {backendUserGroup.title}<br />
134 </f:for>
135 </td>
136 </f:for>
137 </tr>
138 <tr>
139 <td><h5><f:translate key="allowedLanguages" /></h5></td>
140 <f:for each="{compareUserList}" as="compareUser">
141 <td>
142 <f:if condition="{compareUser.allowedLanguages}">
143 <f:then>
144 <bu:display.sysLanguage uids="{compareUser.allowedLanguages}" />
145 </f:then>
146 <f:else>
147 -
148 </f:else>
149 </f:if>
150 </td>
151 </f:for>
152 </tr>
153 <tr>
154 <td><h5><f:translate key="dbMountPoints" /></h5></td>
155 <f:for each="{compareUserList}" as="compareUser">
156 <td>
157 <f:if condition="{compareUser.dbMountPoints}">
158 <f:then>
159 <bu:display.pages uids="{compareUser.dbMountPoints}" />
160 </f:then>
161 <f:else>
162 -
163 </f:else>
164 </f:if>
165 </td>
166 </f:for>
167 </tr>
168 <tr>
169 <td><h5><f:translate key="fileMounts" /></h5></td>
170 <f:for each="{compareUserList}" as="compareUser">
171 <td>
172 <f:if condition="{compareUser.fileMountPoints}">
173 <f:then>
174 <bu:display.sysFileMounts uids="{compareUser.fileMountPoints}" />
175 </f:then>
176 <f:else>
177 -
178 </f:else>
179 </f:if>
180 </td>
181 </f:for>
182 </tr>
183 <tr>
184 <td><h5><f:translate key="disableIpLock" /></h5></td>
185 <f:for each="{compareUserList}" as="compareUser">
186 <td>
187 <f:if condition="{compareUser.ipLockIsDisabled} == 1">
188 <f:then><f:translate key="yes" /></f:then>
189 <f:else><f:translate key="no" /></f:else>
190 </f:if>
191 </td>
192 </f:for>
193 </tr>
194 </tbody>
195 </table>
196 </f:section>