chg: [templates] Individuals and Organisations updated
parent
5d36c7d730
commit
1da22d28d8
|
@ -1,10 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$modelForForm = 'Individuals';
|
$modelForForm = 'Individuals';
|
||||||
echo $this->element('genericElements/Form/genericForm', array(
|
echo $this->element('genericElements/Form/genericForm', array(
|
||||||
'form' => $this->Form,
|
|
||||||
'data' => array(
|
'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.'),
|
'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',
|
'model' => 'Organisations',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
|
|
|
@ -3,7 +3,7 @@ echo $this->element(
|
||||||
'/genericElements/SingleViews/single_view',
|
'/genericElements/SingleViews/single_view',
|
||||||
[
|
[
|
||||||
'title' => __('Individual View'),
|
'title' => __('Individual View'),
|
||||||
'data' => $individual,
|
'data' => $entity,
|
||||||
'fields' => [
|
'fields' => [
|
||||||
[
|
[
|
||||||
'key' => __('ID'),
|
'key' => __('ID'),
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$modelForForm = 'Organisations';
|
|
||||||
echo $this->element('genericElements/Form/genericForm', array(
|
echo $this->element('genericElements/Form/genericForm', array(
|
||||||
'form' => $this->Form,
|
|
||||||
'data' => array(
|
'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.'),
|
'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',
|
'model' => 'Organisations',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
|
|
|
@ -36,7 +36,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'name' => __('Members'),
|
'name' => __('Members'),
|
||||||
'data_path' => 'alignments',
|
'data_path' => 'alignments',
|
||||||
'element' => 'count_summary',
|
'element' => 'count_summary',
|
||||||
'url' => '/individuals/index/?organisation_id={{url_data}}',
|
'url' => '/individuals/index/?Organisations.id={{url_data}}',
|
||||||
'url_data_path' => 'id'
|
'url_data_path' => 'id'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
echo $this->element(
|
echo $this->element(
|
||||||
'/genericElements/SingleViews/single_view',
|
'/genericElements/SingleViews/single_view',
|
||||||
array(
|
[
|
||||||
'title' => __('Organisation View'),
|
'title' => __('Organisation View'),
|
||||||
'data' => $organisation,
|
'data' => $entity,
|
||||||
'fields' => array(
|
'fields' => [
|
||||||
[
|
[
|
||||||
'key' => __('ID'),
|
'key' => __('ID'),
|
||||||
'path' => 'id'
|
'path' => 'id'
|
||||||
|
@ -43,7 +43,7 @@ echo $this->element(
|
||||||
'path' => 'alignments',
|
'path' => 'alignments',
|
||||||
'scope' => 'organisations'
|
'scope' => 'organisations'
|
||||||
]
|
]
|
||||||
),
|
],
|
||||||
'children' => []
|
'children' => []
|
||||||
)
|
]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue