Updated TSD on downloads page (#2097)

This commit is contained in:
Vim 2022-11-21 19:13:53 -08:00 committed by GitHub
commit 7846635a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 15 deletions

View file

@ -25,8 +25,8 @@ GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.p
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/cejst-instructions-for-federal-agencies.pdf
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf

View file

@ -22,8 +22,8 @@ GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.p
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/cejst-instructions-for-federal-agencies.pdf
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf

View file

@ -55,8 +55,8 @@ export const DOWNLOAD_FILES = {
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
TSD: {
SIZE: 2.4, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_PDF, false),
SIZE: 4.4, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_TSD_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
TSD_ES: {
@ -571,17 +571,17 @@ export const DOWNLOAD_LINKS = {
/>,
LINK4: <FormattedMessage
id={'download.page.download.file.4'}
defaultMessage={`Technical support document (version 1.0 coming soon)`}
defaultMessage={`<link4>Technical support document</link4> (.pdf {tsdFileSize})`}
description={'Navigate to the download page. This is fourth download file link'}
values={{
// link4: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD.URL, false, true),
// link4es: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD_ES.URL, false, true),
// tsdFileSize: <FormattedNumber
// value={DOWNLOAD_FILES.NARWAL.TSD.SIZE}
// style="unit"
// unit="megabyte"
// unitDisplay="narrow"
// />,
link4: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD.URL, false, true),
link4es: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD_ES.URL, false, true),
tsdFileSize: <FormattedNumber
value={DOWNLOAD_FILES.NARWAL.TSD.SIZE}
style="unit"
unit="megabyte"
unitDisplay="narrow"
/>,
}}
/>,
LINK5: <FormattedMessage

View file

@ -296,7 +296,7 @@
"description": "Navigate to the download page. This is third download file link"
},
"download.page.download.file.4": {
"defaultMessage": "Technical support document (version 1.0 coming soon)",
"defaultMessage": "<link4>Technical support document</link4> (.pdf {tsdFileSize})",
"description": "Navigate to the download page. This is fourth download file link"
},
"download.page.download.file.5": {

View file

@ -706,7 +706,16 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
(Codebook included with shapefile 356.8MB unzipped)
</p>
<p>
Technical support document (version 1.0 coming soon)
<a
class="usa-link usa-link--external"
data-cy=""
href="//"
rel="noreferrer"
target="_blank"
>
Technical support document
</a>
(.pdf 4.4MB)
</p>
<p>
<a