de58eadbe6d3ab08bd1b19a726b9b4278b8cc8c6
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUserGroup / IndexListRow.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2 <tr>
3 <td class="col-icon">
4 <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})">
5 <bu:spriteIconForRecord table="be_groups" object="{backendUserGroup}" />
6 </a>
7 </td>
8 <td class="col-title">
9
10 <a href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}">
11 <b>{backendUserGroup.title}</b><br />
12 {backendUser.realName}
13 </a>
14 </td>
15 <td>
16 <f:for each="{backendUserGroup.subgroups}" as="subgroup" iteration="subGroupIterator">
17 <a href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}">
18 {subgroup.title}
19 </a>
20 <f:if condition="{subGroupIterator.isLast}"><f:else>, </f:else></f:if>
21 </f:for>
22 </td>
23 <td class="col-control">
24 <div class="btn-group" role="group">
25 <a class="btn btn-default" href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}"><core:icon identifier="actions-open" /></a>
26 <f:if condition="{backendUserGroup.hidden}">
27 <f:then>
28 <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>
29 </f:then>
30 <f:else>
31 <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>
32 </f:else>
33 </f:if>
34 </div>
35 <div class="btn-group" role="group">
36 <a class="btn btn-default" href="#" onclick="top.TYPO3.InfoWindow.showItem('be_groups', '{backendUserGroup.uid}'); return false;"><core:icon identifier="actions-document-info" /></a
37 </div>
38 </td>
39 </tr>