[BUGFIX] Fix edit links in Backend Usergroup list
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Partials / BackendUserGroup / IndexListRow.html
1 {namespace be = TYPO3\CMS\Backend\ViewHelpers}
2 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
3
4 <tr>
5 <td class="col-icon">
6 <a href="#" class="t3-js-clickmenutrigger" data-table="be_groups" data-uid="{backendUserGroup.uid}" data-listframe="1" title="id={backendUserGroup.uid}">
7 <bu:spriteIconForRecord table="be_groups" object="{backendUserGroup}" />
8 </a>
9 </td>
10 <td class="col-title">
11 <a href="alt_doc.php?edit[be_groups][{backendUserGroup.uid}]=edit&amp;returnUrl={returnUrl}">
12 <b>{backendUserGroup.title}</b><br />
13 {backendUser.realName}
14 </a>
15 </td>
16 <td>
17 <f:for each="{backendUserGroup.subgroups}" as="subgroup" iteration="subGroupIterator">
18 <a href="alt_doc.php?edit[be_groups][{subgroup.uid}]=edit&amp;returnUrl={returnUrl}">
19 {subgroup.title}
20 </a>
21 <f:if condition="{subGroupIterator.isLast}"><f:else>, </f:else></f:if>
22 </f:for>
23 </td>
24 <td class="col-control">
25 <div class="btn-group" role="group">
26 <a class="btn btn-default" href="#" onclick="top.launchView('be_groups', '{backendUserGroup.uid}'); return false;"><be:spriteManagerIcon iconName="actions-document-info" /></a>
27 <a class="btn btn-default" href="alt_doc.php?edit[be_groups][{backendUserGroup.uid}]=edit&amp;returnUrl={returnUrl}"><be:spriteManagerIcon iconName="actions-document-open" /></a>
28 <f:if condition="{backendUserGroup.hidden}">
29 <f:then>
30 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_groups][{backendUserGroup.uid}][hidden]=0', redirectUrl: redirectUrl)}"><be:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" /></a>
31 </f:then>
32 <f:else>
33 <a class="btn btn-default" href="{bu:issueCommand(parameters: 'data[be_groups][{backendUserGroup.uid}][hidden]=1', redirectUrl: redirectUrl)}"><be:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" /></a>
34 </f:else>
35 </f:if>
36 </div>
37 </td>
38 </tr>