-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search Results - Summary Report Generation (#3025)
* Multiple report generation, first pass * Comments, formatting, minor cleanup * Summary reports query by model, not report_id * XLSX, not CSV * Cannot edit a namedtuple after initializing it. * FAC API Link in coversheet * Alert copy, download button only on < 1000 results * Use padding instead of an empty tag. * Update note copy. * Add download limit to config.settings, use it everywhere * Small summary report protection * 404 and 400 errors for summary report downloads. * Tests for summary report downloads. * Copy - Alert heading & remove API links. * Linting - Imports, f-strings, logger values. * All infobox info at the same time, all the time. Broken into a component.
- Loading branch information
Showing
8 changed files
with
383 additions
and
110 deletions.
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
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,21 @@ | ||
{% load humanize %} | ||
{% load sprite_helper %} | ||
<div class="usa-alert usa-alert--info"> | ||
<div class="usa-alert__body"> | ||
<h4 class="usa-alert__heading">Searching the FAC database</h4> | ||
<p class="usa-alert__text padding-bottom-2"> | ||
Learn more about how our search filters work on <a href='https://www.fac.gov/data/resources/' target='_blank'>our Search Resources page</a>. | ||
</p> | ||
|
||
<h4 class="usa-alert__heading">Sorting</h4> | ||
<p class="usa-alert__text padding-bottom-2"> | ||
Use the arrows at the top of each column to sort results. | ||
</p> | ||
|
||
<h4 class="usa-alert__heading">Summary reports</h4> | ||
<p class="usa-alert__text"> | ||
For search results of {{ summary_report_download_limit|intcomma }} submissions or less, you can download a combined spreadsheet of all data. | ||
If you need to download more than {{ summary_report_download_limit|intcomma }} submissions, try limiting your search parameters to download in batches. | ||
</p> | ||
</div> | ||
</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
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
Oops, something went wrong.