2020-05-29 13:41:58 +02:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
2020-06-19 00:42:42 +02:00
|
|
|
[
|
2020-05-29 13:41:58 +02:00
|
|
|
'title' => __('Organisation View'),
|
2020-06-19 00:42:42 +02:00
|
|
|
'data' => $entity,
|
|
|
|
'fields' => [
|
2020-05-29 13:41:58 +02:00
|
|
|
[
|
|
|
|
'key' => __('ID'),
|
|
|
|
'path' => 'id'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Name'),
|
|
|
|
'path' => 'name'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('UUID'),
|
|
|
|
'path' => 'uuid'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('URL'),
|
|
|
|
'path' => 'url'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Nationality'),
|
|
|
|
'path' => 'nationality'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Sector'),
|
|
|
|
'path' => 'sector'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Type'),
|
|
|
|
'path' => 'type'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Contacts'),
|
|
|
|
'path' => 'contacts'
|
|
|
|
],
|
2021-08-31 15:21:28 +02:00
|
|
|
[
|
|
|
|
'key' => __('Tags'),
|
|
|
|
'type' => 'tags',
|
|
|
|
],
|
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' => 'organisations'
|
|
|
|
]
|
2020-06-19 00:42:42 +02:00
|
|
|
],
|
2021-11-11 14:50:25 +01:00
|
|
|
'combinedFieldsView' => false,
|
2020-05-29 13:41:58 +02:00
|
|
|
'children' => []
|
2020-06-19 00:42:42 +02:00
|
|
|
]
|
2020-05-29 13:41:58 +02:00
|
|
|
);
|