Commit 09945c8c authored by Viacheslav Pavlov's avatar Viacheslav Pavlov
Browse files

Merge branch '392-display-source-as-active-url' into 'master'

Resolve "Display source as active URL"

Closes #392

See merge request !311
parents 960e9ea8 c1845c39
Pipeline #7005 passed with stages
in 5 minutes and 14 seconds
......@@ -388,7 +388,9 @@ class DetailInfo extends React.Component<IDetailInfoProps, any> {
<Grid container spacing={ 0 }>
<Properties>
<PropertiesItem title="Date of dataset:"><McpdDate value={ dataset.created }/></PropertiesItem>
<PropertiesItem title="Related resources:">{ dataset.source }</PropertiesItem>
<PropertiesItem title="Related resources:">
<Markdown source={ dataset.source } />
</PropertiesItem>
<PropertiesItem title="Metadata create date:">
{ dataset.createdDate && <PrettyDate value={ dataset.createdDate } /> }
</PropertiesItem>
......
......@@ -80,7 +80,7 @@ class BasicInfoStep extends React.Component<ILoginContainerProps, any> {
/>
<Field
name="source"
component={ TextField }
component={ MarkdownField }
label="Source"
placeholder="A related resource from which the described dataset is derived (e.g., journal article, data article, conference proceedings). Use DOI, URL, Journal title, or Journal/conference title; vol., no. (year)"
/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment