Fixes #1571 (TSD download button) (#1578)

* Fixes #1571

* Split out last updated for all downloads
This commit is contained in:
TomNUSDS 2022-04-19 12:30:42 -07:00 committed by GitHub
commit c07d790b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 221 additions and 22 deletions

View file

@ -383,7 +383,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Files available for download
</div>
<div>
Download the data sources used in the CEJST (.csv and .xlsx, 52MB unzipped) or the shapefile, along with a codebook (.zip, 742MB unzipped).
Download the data sources used in the CEJST (.csv and .xlsx, 52MB unzipped), the shapefile, along with a codebook (.zip, 742MB unzipped) or the technical support document (.pdf, 913kB).
</div>
<div>
<a
@ -447,6 +447,44 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Last updated: 04/06/22
</div>
<div>
<div>
<span
class="usa-tag"
data-testid="tag"
>
<strong>
NEW
</strong>
</span>
</div>
<a
data-cy="shapefile-link"
download=""
href="//"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
type="button"
>
<div>
<img
alt="download icon for download package"
src="test-file-stub"
/>
</div>
<div>
Download technical support document
</div>
</button>
</a>
</div>
<div>
Last updated: 04/19/22
</div>
</div>
</div>
</div>