IndexListRow.html 2.09 KB
Newer Older
1
2
{namespace be = TYPO3\CMS\Backend\ViewHelpers}
{namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
3
{namespace core = TYPO3\CMS\Core\ViewHelpers}
4
5
6

<tr>
	<td class="col-icon">
7
		<a href="#" class="t3-js-clickmenutrigger" data-table="be_groups" data-uid="{backendUserGroup.uid}" data-listframe="1" title="{f:if(condition: '{backendUserGroup.description}', then: '{backendUserGroup.description} ')}(id={backendUserGroup.uid})">
8
9
10
11
			<bu:spriteIconForRecord table="be_groups" object="{backendUserGroup}" />
		</a>
	</td>
	<td class="col-title">
12
13

		<a href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}">
14
15
16
17
18
19
			<b>{backendUserGroup.title}</b><br />
			{backendUser.realName}
		</a>
	</td>
	<td>
		<f:for each="{backendUserGroup.subgroups}" as="subgroup" iteration="subGroupIterator">
20
			<a href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}">
21
22
23
24
25
26
27
				{subgroup.title}
			</a>
			<f:if condition="{subGroupIterator.isLast}"><f:else>, </f:else></f:if>
		</f:for>
	</td>
	<td class="col-control">
		<div class="btn-group" role="group">
28
			<a class="btn btn-default" href="#" onclick="top.launchView('be_groups', '{backendUserGroup.uid}'); return false;"><core:icon identifier="actions-document-info" size="small"/></a>
29
			<a class="btn btn-default" href="{bu:editRecord(parameters: 'edit[be_groups][{backendUserGroup.uid}]=edit&returnUrl={returnUrl}')}"><be:spriteManagerIcon iconName="actions-document-open" /></a>
30
31
			<f:if condition="{backendUserGroup.hidden}">
				<f:then>
32
					<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" size="small"/></a>
33
34
				</f:then>
				<f:else>
35
					<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" size="small"/></a>
36
37
38
39
40
				</f:else>
			</f:if>
		</div>
	</td>
</tr>