Update Download sidebar, add new alert (#1587)

* Update Download sidebar, add new alert

- Fixes #1567
- Cleaned up styles related to buttons.
- Refactored buttons a little to make easier to maintain.
- Updated test snapshots/translation files

* Fixes

* More text fixes
This commit is contained in:
TomNUSDS 2022-04-27 07:43:34 -07:00 committed by GitHub
commit 6ab7d76fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 525 additions and 124 deletions

View file

@ -91,6 +91,14 @@
"defaultMessage": "About",
"description": "Navigate to the About page. This is the about page title text"
},
"common.pages.alerts.additional_docs_available.description": {
"defaultMessage": "Download new technical support and other documentation and <link2>send feedback</link2>.",
"description": "Alert title that appears at the top of pages."
},
"common.pages.alerts.additional_docs_available.title": {
"defaultMessage": "Additional documentation now available",
"description": "Alert title that appears at the top of pages."
},
"common.pages.alerts.public_comment_period.description": {
"defaultMessage": "The public comment period for <link1>sending feedback</link1> has been extended to {expDate1}.",
"description": "Alert body that appears on landing page."
@ -1212,7 +1220,7 @@
"description": "Navigate to the methodology page. This is the download technical support document spreadsheet"
},
"methodology.page.downloadPacket.header.text": {
"defaultMessage": "Files available for download",
"defaultMessage": "<callout>NEW</callout> files available for download",
"description": "Navigate to the methodology page. This is the download packet header text"
},
"methodology.page.downloadPacket.info.shape.last.updated": {
@ -1220,7 +1228,7 @@
"description": "Navigate to the methodology page. This is the download packet info last updated"
},
"methodology.page.downloadPacket.info.text1": {
"defaultMessage": "Download the data sources used in the CEJST (.csv and .xlsx, {downloadFileSize} unzipped), the shapefile, along with a codebook (.zip, {shapefileSize} unzipped) or the technical support document (.pdf, {tsdFileSize}).",
"defaultMessage": "Download the data sources used in the CEJST (.csv, .xlxs, <callout>.pdf</callout> that describes how to use the list, and a codebook, {downloadFileSize} unzipped), the shapefile, along with a <callout>codebook</callout> (.zip, {shapefileSize} unzipped) or the technical support document (.pdf, {tsdFileSize} unzipped).",
"description": "Navigate to the methodology page. This is the download packet info text"
},
"methodology.page.downloadPacket.info.tsd.last.updated": {
@ -1235,6 +1243,10 @@
"defaultMessage": "<boldtag>NEW</boldtag>",
"description": "Navigate to the methodology page. This is the new tag text"
},
"methodology.page.downloadPacket.updated.tag.text": {
"defaultMessage": "<boldtag>Updated</boldtag>",
"description": "Navigate to the methodology page. This is the update callout tag text that overlaps the button"
},
"methodology.page.formula.first": {
"defaultMessage": "<boldtag>IF</boldtag> the census tract is above the threshold for one or more environmental or climate indicators",
"description": "Navigate to the methodology page. This is the first part of the formula used in the methodology"