Skip to content

Commit 1fe672d

Browse files
author
Cristina Aurrecoechea
committed
UD record page summary at top: add Uploaded by, and casing
1 parent c475e7c commit 1fe672d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

packages/libs/web-common/src/components/records/UserDatasetRecordClasses.UserDatasetRecordClass.jsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export function RecordHeading(props) {
5757
creation_date,
5858
summary,
5959
accessibility,
60+
owner_name,
6061
} = attributes;
6162

6263
let datasetID = record.id[0].value;
@@ -66,24 +67,27 @@ export function RecordHeading(props) {
6667
<props.DefaultComponent {...props} />
6768
<div className="wdk-RecordOverview eupathdb-RecordOverview">
6869
<dl>
69-
<dt>Primary Publication:</dt>
70+
<dt>Primary publication:</dt>
7071
{primary_publication ? (
7172
<>
7273
<dd>{primary_publication}</dd>
7374
</>
7475
) : null}
7576

76-
<dt>Primary Contact:</dt>
77+
<dt>Primary contact:</dt>
7778
{primary_contact_name ? (
7879
<>
7980
<dd>{primary_contact_name}</dd>
8081
</>
8182
) : null}
8283

84+
<dt>Uploaded by:</dt>
85+
<dd>{owner_name}</dd>
86+
8387
<dt>VEuPathDB Dataset ID:</dt>
8488
<dd>{datasetID}</dd>
8589

86-
<dt>Dataset Version / Date:</dt>
90+
<dt>Dataset version / Date:</dt>
8791
<dd>v1, {creation_date}</dd>
8892

8993
<dt>Summary:</dt>
@@ -92,7 +96,7 @@ export function RecordHeading(props) {
9296
dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(summary) }}
9397
/>
9498

95-
<dt>Data Accessibility:</dt>
99+
<dt>Visibility:</dt>
96100
<dd>
97101
{accessibility}
98102
{accessibility === 'private' ? (

0 commit comments

Comments
 (0)