From fc38e615bc2357f50fe0b62f295c21a2f18dec8c Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Thu, 27 Jul 2023 12:29:47 -0400 Subject: [PATCH] Comment out $bulkActions config, hiding it in all index views until each is ready to implement bulk actions. (CFM-290) (#110) --- app/templates/AdHocAttributes/columns.inc | 5 ++++- app/templates/Addresses/columns.inc | 5 ++++- app/templates/ApiUsers/columns.inc | 7 +++++-- app/templates/Cos/columns.inc | 5 ++++- app/templates/Cous/columns.inc | 7 +++++-- app/templates/EmailAddresses/columns.inc | 5 ++++- app/templates/ExternalIdentities/columns.inc | 5 ++++- app/templates/ExternalIdentityRoles/columns.inc | 7 +++++-- app/templates/GroupMembers/columns.inc | 5 ++++- app/templates/GroupNestings/columns.inc | 5 ++++- app/templates/GroupOwners/columns.inc | 5 ++++- app/templates/Groups/columns.inc | 7 +++++-- app/templates/Identifiers/columns.inc | 5 ++++- app/templates/Names/columns.inc | 5 ++++- app/templates/People/columns.inc | 9 ++++++--- app/templates/PersonRoles/columns.inc | 5 ++++- app/templates/Pronouns/columns.inc | 5 ++++- app/templates/ProvisioningTargets/columns.inc | 7 +++++-- app/templates/Servers/columns.inc | 7 +++++-- app/templates/TelephoneNumbers/columns.inc | 5 ++++- app/templates/Types/columns.inc | 7 +++++-- app/templates/Urls/columns.inc | 5 ++++- 22 files changed, 97 insertions(+), 31 deletions(-) diff --git a/app/templates/AdHocAttributes/columns.inc b/app/templates/AdHocAttributes/columns.inc index 4d5aecbec..6d621a76c 100644 --- a/app/templates/AdHocAttributes/columns.inc +++ b/app/templates/AdHocAttributes/columns.inc @@ -34,10 +34,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/Addresses/columns.inc b/app/templates/Addresses/columns.inc index e5c58c121..886c92bb7 100644 --- a/app/templates/Addresses/columns.inc +++ b/app/templates/Addresses/columns.inc @@ -38,10 +38,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/ApiUsers/columns.inc b/app/templates/ApiUsers/columns.inc index 49216ff3e..7b7585165 100644 --- a/app/templates/ApiUsers/columns.inc +++ b/app/templates/ApiUsers/columns.inc @@ -60,7 +60,10 @@ $indexColumns['valid_through'] = [ 'type' => 'datetime' ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/Cos/columns.inc b/app/templates/Cos/columns.inc index c4672061d..d7b28ee06 100644 --- a/app/templates/Cos/columns.inc +++ b/app/templates/Cos/columns.inc @@ -58,7 +58,10 @@ $rowActions = [ ] ]; -// TODO: develop bulk actions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ diff --git a/app/templates/Cous/columns.inc b/app/templates/Cous/columns.inc index 600ce6deb..08ff8d7eb 100644 --- a/app/templates/Cous/columns.inc +++ b/app/templates/Cous/columns.inc @@ -38,7 +38,10 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/EmailAddresses/columns.inc b/app/templates/EmailAddresses/columns.inc index 4c40977ca..050dbc717 100644 --- a/app/templates/EmailAddresses/columns.inc +++ b/app/templates/EmailAddresses/columns.inc @@ -34,10 +34,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/ExternalIdentities/columns.inc b/app/templates/ExternalIdentities/columns.inc index 9bdce03a2..52805d7b5 100644 --- a/app/templates/ExternalIdentities/columns.inc +++ b/app/templates/ExternalIdentities/columns.inc @@ -37,10 +37,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/ExternalIdentityRoles/columns.inc b/app/templates/ExternalIdentityRoles/columns.inc index a911ae50b..751584bbd 100644 --- a/app/templates/ExternalIdentityRoles/columns.inc +++ b/app/templates/ExternalIdentityRoles/columns.inc @@ -50,7 +50,10 @@ $subnav = [ 'subActive' => 'external_identity_roles' ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/GroupMembers/columns.inc b/app/templates/GroupMembers/columns.inc index 4faec634b..c74d216fc 100644 --- a/app/templates/GroupMembers/columns.inc +++ b/app/templates/GroupMembers/columns.inc @@ -57,10 +57,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'group', diff --git a/app/templates/GroupNestings/columns.inc b/app/templates/GroupNestings/columns.inc index 014c4cec8..8be567c4c 100644 --- a/app/templates/GroupNestings/columns.inc +++ b/app/templates/GroupNestings/columns.inc @@ -34,10 +34,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'group', diff --git a/app/templates/GroupOwners/columns.inc b/app/templates/GroupOwners/columns.inc index efb861e28..379061d11 100644 --- a/app/templates/GroupOwners/columns.inc +++ b/app/templates/GroupOwners/columns.inc @@ -36,10 +36,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'group', diff --git a/app/templates/Groups/columns.inc b/app/templates/Groups/columns.inc index 9ff193020..ba15093f0 100644 --- a/app/templates/Groups/columns.inc +++ b/app/templates/Groups/columns.inc @@ -76,7 +76,10 @@ $rowActions = [ ] ]; -// TODO: develop bulk actions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/Identifiers/columns.inc b/app/templates/Identifiers/columns.inc index 8a27be5d2..770654fb4 100644 --- a/app/templates/Identifiers/columns.inc +++ b/app/templates/Identifiers/columns.inc @@ -49,10 +49,13 @@ $indexActions = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/Names/columns.inc b/app/templates/Names/columns.inc index e142b78a5..c77cdbd10 100644 --- a/app/templates/Names/columns.inc +++ b/app/templates/Names/columns.inc @@ -51,10 +51,13 @@ $rowActions = [ ] ]; -// TODO: develop bulk actions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/People/columns.inc b/app/templates/People/columns.inc index c0c5b27e2..703640d0a 100644 --- a/app/templates/People/columns.inc +++ b/app/templates/People/columns.inc @@ -64,7 +64,10 @@ $rowActions = [ ] ]; -// TODO: develop bulk actions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - 'expunge' => true -]; \ No newline at end of file + // TODO: develop bulk actions. For now, use a placeholder. + 'delete' => true +]; +*/ \ No newline at end of file diff --git a/app/templates/PersonRoles/columns.inc b/app/templates/PersonRoles/columns.inc index 17fc028ea..b9469bf4d 100644 --- a/app/templates/PersonRoles/columns.inc +++ b/app/templates/PersonRoles/columns.inc @@ -48,10 +48,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/Pronouns/columns.inc b/app/templates/Pronouns/columns.inc index 58767da56..96e36cd99 100644 --- a/app/templates/Pronouns/columns.inc +++ b/app/templates/Pronouns/columns.inc @@ -38,10 +38,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/ProvisioningTargets/columns.inc b/app/templates/ProvisioningTargets/columns.inc index 952c4c21f..5f4143bbf 100644 --- a/app/templates/ProvisioningTargets/columns.inc +++ b/app/templates/ProvisioningTargets/columns.inc @@ -54,7 +54,10 @@ $rowActions = [ ] ]; -// TODO: develop $bulkActions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/Servers/columns.inc b/app/templates/Servers/columns.inc index f842a4d35..8ecb6f587 100644 --- a/app/templates/Servers/columns.inc +++ b/app/templates/Servers/columns.inc @@ -50,7 +50,10 @@ $rowActions = [ ] ]; -// TODO: develop $bulkActions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/TelephoneNumbers/columns.inc b/app/templates/TelephoneNumbers/columns.inc index 1c4f56b17..d01535f16 100644 --- a/app/templates/TelephoneNumbers/columns.inc +++ b/app/templates/TelephoneNumbers/columns.inc @@ -34,10 +34,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person', diff --git a/app/templates/Types/columns.inc b/app/templates/Types/columns.inc index a34b1d53e..2449df40f 100644 --- a/app/templates/Types/columns.inc +++ b/app/templates/Types/columns.inc @@ -57,7 +57,10 @@ $topLinks = [ // $rowActions appear as row-level menu items in the index view gear icon $rowActions = []; -// TODO: develop $bulkActions. For now, use a placeholder. +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true -]; \ No newline at end of file +]; +*/ \ No newline at end of file diff --git a/app/templates/Urls/columns.inc b/app/templates/Urls/columns.inc index 08f461839..71f8c775c 100644 --- a/app/templates/Urls/columns.inc +++ b/app/templates/Urls/columns.inc @@ -34,10 +34,13 @@ $indexColumns = [ ] ]; +/* +// When the $bulkActions variable exists in a columns.inc config, the "Bulk edit" switch will appear in the index. $bulkActions = [ - // TODO: develop bulk actions. For now, use a placeholder. + // TODO: develop bulk actions. For now, use a placeholder. 'delete' => true ]; +*/ $subnav = [ 'name' => 'person',