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'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'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
|
|
|
],
|
2020-09-28 01:25:07 +02:00
|
|
|
'metaFields' => empty($metaFields) ? [] : $metaFields,
|
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
|
|
|
);
|