mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
fixed export-feature in MemberTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44625 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5313544f7b
commit
99b0288927
@ -61,6 +61,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
if(!Permission::check('EDIT_PERMISSIONS')) $fields->removeFieldFromTab('Root', 'Permissions');
|
||||
|
||||
$memberList->setController($this);
|
||||
$memberList->setPermissions(array('show','edit','export'));
|
||||
|
||||
$fields->push($idField = new HiddenField("ID"));
|
||||
$idField->setValue($id);
|
||||
|
@ -69,9 +69,9 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="utility">
|
||||
<% if Can(export) %>
|
||||
$ExportButton
|
||||
<% end_if %>
|
||||
<% control Utility %>
|
||||
<span class="item"><a href="$Link" target="_blank">$Title</a></span>
|
||||
<% end_control %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user