56 lines
1.4 KiB
PHP
56 lines
1.4 KiB
PHP
<?php
|
|
echo $this->element(
|
|
'/genericElements/SingleViews/single_view',
|
|
[
|
|
'title' => __('Organisation View'),
|
|
'data' => $entity,
|
|
'fields' => [
|
|
[
|
|
'key' => __('ID'),
|
|
'path' => 'id'
|
|
],
|
|
[
|
|
'key' => __('Name'),
|
|
'path' => 'name'
|
|
],
|
|
[
|
|
'key' => __('UUID'),
|
|
'path' => 'uuid'
|
|
],
|
|
[
|
|
'key' => __('URL'),
|
|
'path' => 'url'
|
|
],
|
|
[
|
|
'key' => __('Country'),
|
|
'path' => 'nationality'
|
|
],
|
|
[
|
|
'key' => __('Sector'),
|
|
'path' => 'sector'
|
|
],
|
|
[
|
|
'key' => __('Type'),
|
|
'path' => 'type'
|
|
],
|
|
[
|
|
'key' => __('Contacts'),
|
|
'path' => 'contacts'
|
|
],
|
|
[
|
|
'key' => __('Tags'),
|
|
'type' => 'tags',
|
|
'editable' => $canEdit,
|
|
],
|
|
[
|
|
'key' => __('Alignments'),
|
|
'type' => 'alignment',
|
|
'path' => '',
|
|
'scope' => 'organisations'
|
|
]
|
|
],
|
|
'combinedFieldsView' => false,
|
|
'children' => []
|
|
]
|
|
);
|