mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-23 05:01:58 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4d38632a9 | ||
|
|
4fa0e2851f | ||
|
|
2c10cc885d | ||
|
|
f993fda3f6 | ||
|
|
ecacf0ba59 | ||
|
|
592d59e54d |
@@ -113,10 +113,10 @@ export class DoiMint extends Component {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// get a link of dio
|
// // get a link of dio
|
||||||
var doiLink = (doiId) => {
|
// var doiLink = (doiId) => {
|
||||||
window.open(`https://doi.org/${doiId}`, "_blank");
|
// window.open(`https://doi.org/${doiId}`, "_blank");
|
||||||
};
|
// };
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="actions">
|
<Card className="actions">
|
||||||
@@ -187,13 +187,8 @@ export class DoiMint extends Component {
|
|||||||
</Message>
|
</Message>
|
||||||
)}
|
)}
|
||||||
<Label
|
<Label
|
||||||
style={{
|
|
||||||
cursor: "pointer",
|
|
||||||
}}
|
|
||||||
size="large"
|
size="large"
|
||||||
as="a"
|
|
||||||
color="blue"
|
color="blue"
|
||||||
onClick={() => doiLink(this.state.doi_id || this.id_doi)}
|
|
||||||
>
|
>
|
||||||
<strong>DOI: </strong>
|
<strong>DOI: </strong>
|
||||||
<Label.Detail>{this.state.doi_id || this.id_doi}</Label.Detail>
|
<Label.Detail>{this.state.doi_id || this.id_doi}</Label.Detail>
|
||||||
|
|||||||
@@ -428,8 +428,10 @@ export class RDMDepositForm extends Component {
|
|||||||
label="Subjects"
|
label="Subjects"
|
||||||
labelIcon="tag"
|
labelIcon="tag"
|
||||||
/> */}
|
/> */}
|
||||||
|
{/**TODO- enable once issue is solved:
|
||||||
<LanguagesField
|
* https://github.com/inveniosoftware/invenio-app-rdm/issues/738
|
||||||
|
*/}
|
||||||
|
{/* <LanguagesField
|
||||||
initialOptions={_get(
|
initialOptions={_get(
|
||||||
this.props.record,
|
this.props.record,
|
||||||
"ui.languages",
|
"ui.languages",
|
||||||
@@ -442,7 +444,7 @@ export class RDMDepositForm extends Component {
|
|||||||
key: item.id,
|
key: item.id,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<DatesField options={this.vocabularies.metadata.dates} />
|
<DatesField options={this.vocabularies.metadata.dates} />
|
||||||
<VersionField />
|
<VersionField />
|
||||||
<PublisherField required />
|
<PublisherField required />
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ This file is imported by ``invenio_theme_tugraz.__init__``,
|
|||||||
and parsed by ``setup.py``.
|
and parsed by ``setup.py``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "2.0.1"
|
__version__ = "2.0.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user