Skip to content

Commit 919664b

Browse files
committed
LIBDRUM-912. Added "External Link to Data Files" to simple item page
Added an "External Link to Data Files" field in the left column of the simple item page, which displays the value of the "dc.relation.uri" metadata field. https://umd-dit.atlassian.net/browse/LIBDRUM-912
1 parent 1a5cd96 commit 919664b

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/assets/i18n/en.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7200,6 +7200,8 @@
72007200

72017201
"item.page.doi": "DRUM DOI",
72027202

7203+
"item.page.externalDataFilesLink": "External Link to Data Files",
7204+
72037205
"item.page.publicationLink": "Publication or External Link",
72047206

72057207
"item.page.publicationLink.datasetOrSoftware": "Related Publication Link",

src/themes/drum/app/item-page/simple/item-types/untyped-item/untyped-item.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ <h2 class="item-page-title-field mr-auto">
4141
[label]="publicationLinkLabelI18nKey">
4242
</ds-item-page-uri-field>
4343

44+
<!-- External Link to Data Files -->
45+
<ds-item-page-uri-field [item]="object"
46+
[fields]="['dc.relation.uri']"
47+
[label]="'item.page.externalDataFilesLink'">
48+
</ds-item-page-uri-field>
49+
4450
<!-- Date -->
4551
<ds-item-page-date-field [item]="object"></ds-item-page-date-field>
4652

0 commit comments

Comments
 (0)