2021-03-15 22:47:13 +01:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
|
|
|
[
|
|
|
|
'data' => $entity,
|
|
|
|
'fields' => [
|
|
|
|
[
|
|
|
|
'key' => __('ID'),
|
|
|
|
'path' => 'id'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'created',
|
|
|
|
'path' => 'created',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'scope',
|
|
|
|
'path' => 'scope',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'action',
|
|
|
|
'path' => 'action',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'title',
|
|
|
|
'path' => 'title',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'origin',
|
|
|
|
'path' => 'origin',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'user_id',
|
|
|
|
'path' => 'user_id',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'description',
|
|
|
|
'path' => 'description',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'comment',
|
|
|
|
'path' => 'comment',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => 'data',
|
|
|
|
'path' => 'data',
|
2021-03-18 09:26:01 +01:00
|
|
|
'type' => 'json'
|
2021-03-15 22:47:13 +01:00
|
|
|
],
|
|
|
|
],
|
|
|
|
'children' => []
|
|
|
|
]
|
|
|
|
);
|