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