Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
aydun committed Nov 8, 2022
1 parent 74ceab1 commit 0ee8f01
Showing 1 changed file with 147 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,213 +3,213 @@

return [
[
'name' => 'SavedSearch_Manage_Contribution_Pages',
'entity' => 'SavedSearch',
'cleanup' => 'unused',
'update' => 'unmodified',
'name' => 'SavedSearch_Manage_Contribution_Pages',
'entity' => 'SavedSearch',
'cleanup' => 'unused',
'update' => 'unmodified',
'params' => [
'version' => 4,
'version' => 4,
'values' => [
'name' => 'Manage_Contribution_Pages',
'label' => E::ts('Manage Contribution Pages'),
'form_values' => NULL,
'mapping_id' => NULL,
'search_custom_id' => NULL,
'api_entity' => 'ContributionPage',
'name' => 'Manage_Contribution_Pages',
'label' => E::ts('Manage Contribution Pages'),
'form_values' => NULL,
'mapping_id' => NULL,
'search_custom_id' => NULL,
'api_entity' => 'ContributionPage',
'api_params' => [
'version' => 4,
'version' => 4,
'select' => [
'title',
'id',
'title',
'id',
'is_active',
],
'orderBy' => [],
'where' => [],
'groupBy' => [],
'join' => [],
],
'orderBy' => [],
'where' => [],
'groupBy' => [],
'join' => [],
'having' => [],
],
'expires_date' => NULL,
],
'expires_date' => NULL,
'description' => NULL,
],
],
],
],
[
'name' => 'SavedSearch_Manage_Contribution_Pages_SearchDisplay_Manage_Contribution_Pages_Table_1',
'entity' => 'SearchDisplay',
'cleanup' => 'unused',
'update' => 'unmodified',
'name' => 'SavedSearch_Manage_Contribution_Pages_SearchDisplay_Manage_Contribution_Pages_Table_1',
'entity' => 'SearchDisplay',
'cleanup' => 'unused',
'update' => 'unmodified',
'params' => [
'version' => 4,
'version' => 4,
'values' => [
'name' => 'Manage_Contribution_Pages_Table_1',
'label' => 'Manage Contribution Pages Table 1',
'saved_search_id.name' => 'Manage_Contribution_Pages',
'type' => 'table',
'name' => 'Manage_Contribution_Pages_Table_1',
'label' => 'Manage Contribution Pages Table 1',
'saved_search_id.name' => 'Manage_Contribution_Pages',
'type' => 'table',
'settings' => [
'actions' => FALSE,
'limit' => 50,
'actions' => FALSE,
'limit' => 50,
'classes' => [
'table',
'table',
'table-striped',
],
],
'pager' => [
'show_count' => TRUE,
'show_count' => TRUE,
'expose_limit' => TRUE,
],
'placeholder' => 5,
],
'placeholder' => 5,
'sort' => [
[
'title',
'title',
'ASC',
],
],
],
'columns' => [
[
'type' => 'field',
'key' => 'title',
'dataType' => 'String',
'label' => E::ts('Title'),
'type' => 'field',
'key' => 'title',
'dataType' => 'String',
'label' => E::ts('Title'),
'sortable' => TRUE,
],
],
[
'type' => 'field',
'key' => 'id',
'dataType' => 'Integer',
'label' => E::ts('ID'),
'type' => 'field',
'key' => 'id',
'dataType' => 'Integer',
'label' => E::ts('ID'),
'sortable' => TRUE,
],
],
[
'type' => 'field',
'key' => 'is_active',
'dataType' => 'Boolean',
'label' => E::ts('Enabled?'),
'sortable' => TRUE,
'type' => 'field',
'key' => 'is_active',
'dataType' => 'Boolean',
'label' => E::ts('Enabled?'),
'sortable' => TRUE,
'editable' => TRUE,
],
],
[
'text' => 'Contributions',
'style' => 'default',
'size' => 'btn-sm',
'icon' => 'fa-credit-card',
'text' => 'Contributions',
'style' => 'default',
'size' => 'btn-sm',
'icon' => 'fa-credit-card',
'links' => [
[
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Current Month-To-Date'),
'style' => 'default',
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0&receive_date_low=[CURDATE()-7]&receive_date_high=[CURDATE()]',
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Current Month-To-Date'),
'style' => 'default',
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0&receive_date_low=[CURDATE()-7]&receive_date_high=[CURDATE()]',
'condition' => [],
],
],
[
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Fiscal Year-To-Date'),
'style' => 'default',
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0&receive_date_low=[CURDATE()]&receive_date_high=[CURDATE()]',
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Fiscal Year-To-Date'),
'style' => 'default',
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0&receive_date_low=[CURDATE()]&receive_date_high=[CURDATE()]',
'condition' => [],
],
],
[
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0',
'icon' => 'fa-external-link',
'text' => E::ts('Cumulative'),
'style' => 'default',
'condition' => [],
'entity' => '',
'action' => '',
'join' => '',
'path' => 'civicrm/contribute/search?reset=1&contribution_page_id=[id]&force=1&test=0',
'icon' => 'fa-external-link',
'text' => E::ts('Cumulative'),
'style' => 'default',
'condition' => [],
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
],
],
'type' => 'menu',
],
'type' => 'menu',
'alignment' => 'text-right',
],
],
[
'text' => E::ts('Links'),
'style' => 'default',
'size' => 'btn-sm',
'icon' => 'fa-link',
'text' => E::ts('Links'),
'style' => 'default',
'size' => 'btn-sm',
'icon' => 'fa-link',
'links' => [
[
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Live Page'),
'style' => 'default',
'path' => 'civicrm/contribute/transact?reset=1&id=[id]',
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Live Page'),
'style' => 'default',
'path' => 'civicrm/contribute/transact?reset=1&id=[id]',
'condition' => [],
],
],
[
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Test-drive'),
'style' => 'default',
'path' => 'civicrm/contribute/transact?reset=1&id=[id]&action=preview',
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
'icon' => 'fa-external-link',
'text' => E::ts('Test-drive'),
'style' => 'default',
'path' => 'civicrm/contribute/transact?reset=1&id=[id]&action=preview',
'condition' => [],
],
],
'type' => 'menu',
],
'type' => 'menu',
'alignment' => 'text-right',
],
],
[
'size' => 'btn-xs',
'size' => 'btn-xs',
'links' => [
[
'entity' => 'ContributionPage',
'action' => 'update',
'join' => '',
'target' => '',
'icon' => 'fa-pencil',
'text' => E::ts('Edit'),
'style' => 'default',
'path' => '',
'entity' => 'ContributionPage',
'action' => 'update',
'join' => '',
'target' => '',
'icon' => 'fa-pencil',
'text' => E::ts('Edit'),
'style' => 'default',
'path' => '',
'condition' => [],
],
],
[
'path' => 'civicrm/admin/contribute&action=copy&gid=[id]',
'icon' => 'fa-clone',
'text' => E::ts('Clone'),
'style' => 'secondary',
'condition' => [],
'entity' => '',
'action' => '',
'join' => '',
'path' => 'civicrm/admin/contribute&action=copy&gid=[id]',
'icon' => 'fa-clone',
'text' => E::ts('Clone'),
'style' => 'secondary',
'condition' => [],
'entity' => '',
'action' => '',
'join' => '',
'target' => '',
],
],
[
'entity' => 'ContributionPage',
'action' => 'delete',
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-trash',
'text' => E::ts('Delete'),
'style' => 'danger',
'path' => '',
'entity' => 'ContributionPage',
'action' => 'delete',
'join' => '',
'target' => 'crm-popup',
'icon' => 'fa-trash',
'text' => E::ts('Delete'),
'style' => 'danger',
'path' => '',
'condition' => [],
],
],
'type' => 'buttons',
],
'type' => 'buttons',
'alignment' => 'text-right',
],
],
],
'addButton' => [
'path' => 'civicrm/admin/contribute/add?reset=1&action=add',
'text' => E::ts('Add Contribution Page'),
'path' => 'civicrm/admin/contribute/add?reset=1&action=add',
'text' => E::ts('Add Contribution Page'),
'icon' => 'fa-plus',
],
],
'button' => NULL,
],
],
'acl_bypass' => FALSE,
],
],
Expand Down

0 comments on commit 0ee8f01

Please sign in to comment.