chg: [encryption keys] listed for orgs / individuals on their respective views, fixes #167

perm_community_admin
iglocska 2024-05-22 16:11:45 +02:00
parent 1e7a1a5f3e
commit 7d5102db2a
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 14 additions and 2 deletions

View File

@ -40,6 +40,12 @@ echo $this->element(
'scope' => 'individuals' 'scope' => 'individuals'
] ]
], ],
'children' => [] 'children' => [
[
'url' => '/EncryptionKeys/index?owner_id={{0}}&owner_model=individual',
'url_params' => ['id'],
'title' => __('Encryption keys')
]
]
] ]
); );

View File

@ -63,6 +63,12 @@ echo $this->element(
'data' => $entity, 'data' => $entity,
'fields' => $fields, 'fields' => $fields,
'combinedFieldsView' => false, 'combinedFieldsView' => false,
'children' => [] 'children' => [
[
'url' => '/EncryptionKeys/index?owner_id={{0}}&owner_model=organisation',
'url_params' => ['id'],
'title' => __('Encryption keys')
]
]
] ]
); );