chg: [templates] Individuals and Organisations updated
parent
5d36c7d730
commit
1da22d28d8
|
@ -1,10 +1,7 @@
|
|||
<?php
|
||||
$modelForForm = 'Individuals';
|
||||
echo $this->element('genericElements/Form/genericForm', array(
|
||||
'form' => $this->Form,
|
||||
'data' => array(
|
||||
'entity' => $individual,
|
||||
'title' => __('Add new individual'),
|
||||
'description' => __('Individuals are natural persons. They are meant to describe the basic information about an individual that may or may not be a user of this community. Users in genral require an individual object to identify the person behind them - however, no user account is required to store information about an individual. Individuals can have affiliations to organisations and broods as well as cryptographic keys, using which their messages can be verified and which can be used to securely contact them.'),
|
||||
'model' => 'Organisations',
|
||||
'fields' => array(
|
||||
|
|
|
@ -3,7 +3,7 @@ echo $this->element(
|
|||
'/genericElements/SingleViews/single_view',
|
||||
[
|
||||
'title' => __('Individual View'),
|
||||
'data' => $individual,
|
||||
'data' => $entity,
|
||||
'fields' => [
|
||||
[
|
||||
'key' => __('ID'),
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<?php
|
||||
$modelForForm = 'Organisations';
|
||||
echo $this->element('genericElements/Form/genericForm', array(
|
||||
'form' => $this->Form,
|
||||
'data' => array(
|
||||
'entity' => $organisation,
|
||||
'title' => __('Add new organisation'),
|
||||
'description' => __('Organisations can be equivalent to legal entities or specific individual teams within such entities. Their purpose is to relate individuals to their affiliations and for release control of information using the Trust Circles.'),
|
||||
'model' => 'Organisations',
|
||||
'fields' => array(
|
||||
|
|
|
@ -36,7 +36,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
|||
'name' => __('Members'),
|
||||
'data_path' => 'alignments',
|
||||
'element' => 'count_summary',
|
||||
'url' => '/individuals/index/?organisation_id={{url_data}}',
|
||||
'url' => '/individuals/index/?Organisations.id={{url_data}}',
|
||||
'url_data_path' => 'id'
|
||||
],
|
||||
[
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
echo $this->element(
|
||||
'/genericElements/SingleViews/single_view',
|
||||
array(
|
||||
[
|
||||
'title' => __('Organisation View'),
|
||||
'data' => $organisation,
|
||||
'fields' => array(
|
||||
'data' => $entity,
|
||||
'fields' => [
|
||||
[
|
||||
'key' => __('ID'),
|
||||
'path' => 'id'
|
||||
|
@ -43,7 +43,7 @@ echo $this->element(
|
|||
'path' => 'alignments',
|
||||
'scope' => 'organisations'
|
||||
]
|
||||
),
|
||||
],
|
||||
'children' => []
|
||||
)
|
||||
]
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue