2020-05-29 13:41:58 +02:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
|
|
|
[
|
2020-06-19 00:42:42 +02:00
|
|
|
'data' => $entity,
|
2020-05-29 13:41:58 +02:00
|
|
|
'fields' => [
|
|
|
|
[
|
|
|
|
'key' => __('ID'),
|
|
|
|
'path' => 'id'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Email'),
|
|
|
|
'path' => 'email'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('UUID'),
|
|
|
|
'path' => 'uuid'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('First Name'),
|
|
|
|
'path' => 'first_name'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Last Name'),
|
|
|
|
'path' => 'last_name'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Position'),
|
|
|
|
'path' => 'position'
|
|
|
|
],
|
2021-08-24 10:48:53 +02:00
|
|
|
[
|
|
|
|
'key' => __('Tags'),
|
|
|
|
'type' => 'tags',
|
2023-02-24 11:17:55 +01:00
|
|
|
'editable' => $canEdit,
|
2021-08-24 10:48:53 +02:00
|
|
|
],
|
2020-05-29 13:41:58 +02:00
|
|
|
[
|
|
|
|
'key' => __('Alignments'),
|
|
|
|
'type' => 'alignment',
|
2020-06-21 21:33:08 +02:00
|
|
|
'path' => '',
|
2020-05-29 13:41:58 +02:00
|
|
|
'scope' => 'individuals'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'children' => []
|
|
|
|
]
|
|
|
|
);
|