2020-06-19 00:42:10 +02:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
|
|
|
[
|
|
|
|
'data' => $entity,
|
|
|
|
'fields' => [
|
|
|
|
[
|
|
|
|
'key' => __('ID'),
|
|
|
|
'path' => 'id'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Name'),
|
|
|
|
'path' => 'name'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Admin permission'),
|
|
|
|
'path' => 'perm_admin',
|
|
|
|
'type' => 'boolean'
|
|
|
|
],
|
2021-10-01 13:19:26 +02:00
|
|
|
[
|
|
|
|
'key' => __('Organisation admin permission'),
|
|
|
|
'path' => 'perm_org_admin',
|
|
|
|
'type' => 'boolean'
|
|
|
|
],
|
2021-06-28 23:27:21 +02:00
|
|
|
[
|
|
|
|
'key' => __('Sync permission'),
|
|
|
|
'path' => 'perm_sync',
|
|
|
|
'type' => 'boolean'
|
|
|
|
],
|
2020-06-19 00:42:10 +02:00
|
|
|
[
|
|
|
|
'key' => __('Default role'),
|
|
|
|
'path' => 'is_default',
|
|
|
|
'type' => 'boolean'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'children' => []
|
|
|
|
]
|
|
|
|
);
|