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