Skip to content

Commit

Permalink
Remove deprecated subnavigation config (CFM-31) (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored and Ioannis committed Dec 15, 2024
1 parent d4b6e43 commit 2c9d08a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 271 deletions.
35 changes: 0 additions & 35 deletions app/templates/AdHocAttributes/fields-nav.inc

This file was deleted.

35 changes: 0 additions & 35 deletions app/templates/Addresses/fields-nav.inc

This file was deleted.

31 changes: 10 additions & 21 deletions app/templates/EmailAddresses/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,15 @@
*/

// XXX: if CFM-218 (Make fields.inc configuration only) is accepted, move the contents of this file into fields.inc
$topLinks = [];

$subnav = [
'name' => 'person',
'active' => 'person', // default for person. 'external identities' are special cased
'subActive' => 'email_addresses'
];

if($vv_action != 'add') {
$topLinks = [
[
'icon' => 'verified_user',
'order' => 'Default',
'label' => __d('operation', 'EmailAddresses.verify.force'),
'if' => 'notVerified',
'link' => [
'action' => 'forceVerify',
$vv_obj->id
],
'class' => ''
$topLinks = [
[
'icon' => 'verified_user',
'order' => 'Default',
'label' => __d('operation', 'EmailAddresses.verify.force'),
'if' => 'notVerified',
'link' => [
'action' => 'forceVerify',
$vv_obj->id
],
];
}
];
35 changes: 0 additions & 35 deletions app/templates/Identifiers/fields-nav.inc

This file was deleted.

35 changes: 0 additions & 35 deletions app/templates/Names/fields-nav.inc

This file was deleted.

35 changes: 0 additions & 35 deletions app/templates/Pronouns/fields-nav.inc

This file was deleted.

35 changes: 0 additions & 35 deletions app/templates/TelephoneNumbers/fields-nav.inc

This file was deleted.

35 changes: 0 additions & 35 deletions app/templates/Urls/fields-nav.inc

This file was deleted.

5 changes: 0 additions & 5 deletions app/webroot/js/comanage/components/common/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/

<<<<<<< HEAD:app/webroot/js/comanage/components/common/actions.js
import {
constructLanguageString
} from '../utils/helpers.js';
Expand Down Expand Up @@ -59,7 +58,3 @@ export default {
</div>
`
}
=======
// XXX: if CFM-218 (Make fields.inc configuration only) is accepted, move the contents of this file into fields.inc
$topLinks = [];
>>>>>>> 9a427e22 (feature-cfm31-subnavigation (#217)):app/templates/GroupNestings/fields-nav.inc

0 comments on commit 2c9d08a

Please sign in to comment.