2021-04-30 23:59:53 +02:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
|
|
|
[
|
|
|
|
'title' => __('{0} connector view', $entity['name']),
|
|
|
|
'data' => $entity,
|
|
|
|
'fields' => [
|
|
|
|
[
|
|
|
|
'key' => __('Name'),
|
|
|
|
'path' => 'name'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Connector name'),
|
|
|
|
'path' => 'connector'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('version'),
|
|
|
|
'path' => 'connector_version'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Description'),
|
|
|
|
'path' => 'connector_description'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'children' => [
|
|
|
|
[
|
2021-07-05 14:14:17 +02:00
|
|
|
'url' => '/localTools/connectorIndex/{{0}}',
|
2021-04-30 23:59:53 +02:00
|
|
|
'url_params' => ['connector'],
|
|
|
|
'title' => __('Connections')
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
);
|