[FEATURE] Backend ViewHelpers for edit creation and editing
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUserGroup / IndexListRow.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
2 xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
3 xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
4 xmlns:bu="http://typo3.org/ns/TYPO3/CMS/Beuser/ViewHelpers">
5
6 <f:section name="list_row">
7 <tr>
8 <td class="col-icon">
9 <a href="#" class="t3js-contextmenutrigger" data-table="be_groups" data-uid="{backendUserGroup.uid}" title="{f:if(condition: '{backendUserGroup.description}', then: '{backendUserGroup.description} ')}(id={backendUserGroup.uid})">
10 <bu:spriteIconForRecord table="be_groups" object="{backendUserGroup}" />
11 </a>
12 </td>
13 <td class="col-title">
14 <be:link.editRecord table="be_groups" uid="{backendUserGroup.uid}" returnUrl="{returnUrl}" title="edit">
15 <b>{backendUserGroup.title}</b><br />
16 {backendUser.realName}
17 </be:link.editRecord>
18 </td>
19 <td>
20 <f:for each="{backendUserGroup.subgroups}" as="subgroup" iteration="subGroupIterator">
21 <be:link.editRecord table="be_groups" uid="{subgroup.uid}" returnUrl="{returnUrl}" title="edit">
22 {subgroup.title}
23 </be:link.editRecord>
24 <f:if condition="{subGroupIterator.isLast}"><f:else>, </f:else></f:if>
25 </f:for>
26 </td>
27 <td class="col-control">
28 <div class="btn-group" role="group">
29 <be:link.editRecord class="btn btn-default" table="be_groups" uid="{backendUserGroup.uid}" returnUrl="{returnUrl}" title="edit">
30 <core:icon identifier="actions-open" />
31 </be:link.editRecord>
32 <f:if condition="{backendUserGroup.hidden}">
33 <f:then>
34 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_groups][{backendUserGroup.uid}][hidden]=0', redirectUrl: redirectUrl)}" title="{f:translate(key:'visibility.unhide')}"><core:icon identifier="actions-edit-unhide" /></a>
35 </f:then>
36 <f:else>
37 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_groups][{backendUserGroup.uid}][hidden]=1', redirectUrl: redirectUrl)}" title="{f:translate(key:'visibility.hide')}"><core:icon identifier="actions-edit-hide" /></a>
38 </f:else>
39 </f:if>
40 </div>
41 <div class="btn-group" role="group">
42 <a class="btn btn-default" href="#" onclick="top.TYPO3.InfoWindow.showItem('be_groups', '{backendUserGroup.uid}'); return false;"><core:icon identifier="actions-document-info" /></a>
43 </div>
44 </td>
45 </tr>
46 </f:section>
47 </html>