Skip to content

Commit

Permalink
Comment out $bulkActions config, hiding it in all index views until e…
Browse files Browse the repository at this point in the history
…ach is ready to implement bulk actions. (CFM-290) (#110)
  • Loading branch information
arlen authored Jul 27, 2023
1 parent 0b435e3 commit fc38e61
Show file tree
Hide file tree
Showing 22 changed files with 97 additions and 31 deletions.
5 changes: 4 additions & 1 deletion app/templates/AdHocAttributes/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/Addresses/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 5 additions & 2 deletions app/templates/ApiUsers/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/Cos/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
*/
7 changes: 5 additions & 2 deletions app/templates/Cous/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/EmailAddresses/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/ExternalIdentities/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 5 additions & 2 deletions app/templates/ExternalIdentityRoles/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/GroupMembers/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/GroupNestings/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/GroupOwners/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 5 additions & 2 deletions app/templates/Groups/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/Identifiers/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/Names/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
9 changes: 6 additions & 3 deletions app/templates/People/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
// TODO: develop bulk actions. For now, use a placeholder.
'delete' => true
];
*/
5 changes: 4 additions & 1 deletion app/templates/PersonRoles/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion app/templates/Pronouns/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 5 additions & 2 deletions app/templates/ProvisioningTargets/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
7 changes: 5 additions & 2 deletions app/templates/Servers/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/TelephoneNumbers/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 5 additions & 2 deletions app/templates/Types/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
];
*/
5 changes: 4 additions & 1 deletion app/templates/Urls/columns.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit fc38e61

Please sign in to comment.