-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add All imports menu item for users with Administer QUeues
This adds the (only just added) search display for 'all imports' to the menu, but only for users with 'Administer Queues' - for other users they would only see their own imports, so it would duplicate 'my imports'. This is useful for site admins etc trying to understand issues their users might be having with imports. Note the extension needs to be enabled
- Loading branch information
1 parent
f113935
commit 5b6def1
Showing
3 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div af-fieldset=""> | ||
<crm-search-display-table search-name="all_imports" display-name="all_imports"></crm-search-display-table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"type": "search", | ||
"requires": [], | ||
"entity_type": null, | ||
"join_entity": null, | ||
"title": "All Imports", | ||
"description": "", | ||
"is_dashlet": false, | ||
"is_public": false, | ||
"is_token": false, | ||
"contact_summary": null, | ||
"summary_contact_type": null, | ||
"icon": "fa-list-alt", | ||
"server_route": "civicrm/imports/all-imports", | ||
"permission": "administer queues", | ||
"redirect": null, | ||
"create_submission": false, | ||
"navigation": { | ||
"parent": "Reports", | ||
"label": "All imports", | ||
"weight": 17 | ||
} | ||
} |