Compare commits

..

6 Commits

Author SHA1 Message Date
Mojib Wali
e4d38632a9 v2.0.4 2021-03-31 17:07:16 +02:00
Unix
4fa0e2851f doimint: removes link to doi.org 2021-03-31 17:02:40 +02:00
Mojib Wali
2c10cc885d v2.0.3 2021-03-31 15:08:32 +02:00
Mojib Wali
f993fda3f6 bugfix: space requires before next query 2021-03-31 15:07:48 +02:00
Mojib Wali
ecacf0ba59 v2.0.2 2021-03-31 09:51:54 +02:00
Unix
592d59e54d depositform: disable field languages 2021-03-31 08:53:44 +02:00
4 changed files with 11 additions and 14 deletions

View File

@@ -113,10 +113,10 @@ export class DoiMint extends Component {
}
};
// get a link of dio
var doiLink = (doiId) => {
window.open(`https://doi.org/${doiId}`, "_blank");
};
// // get a link of dio
// var doiLink = (doiId) => {
// window.open(`https://doi.org/${doiId}`, "_blank");
// };
return (
<Card className="actions">
@@ -187,13 +187,8 @@ export class DoiMint extends Component {
</Message>
)}
<Label
style={{
cursor: "pointer",
}}
size="large"
as="a"
color="blue"
onClick={() => doiLink(this.state.doi_id || this.id_doi)}
>
<strong>DOI: </strong>
<Label.Detail>{this.state.doi_id || this.id_doi}</Label.Detail>

View File

@@ -428,8 +428,10 @@ export class RDMDepositForm extends Component {
label="Subjects"
labelIcon="tag"
/> */}
<LanguagesField
{/**TODO- enable once issue is solved:
* https://github.com/inveniosoftware/invenio-app-rdm/issues/738
*/}
{/* <LanguagesField
initialOptions={_get(
this.props.record,
"ui.languages",
@@ -442,7 +444,7 @@ export class RDMDepositForm extends Component {
key: item.id,
}))
}
/>
/> */}
<DatesField options={this.vocabularies.metadata.dates} />
<VersionField />
<PublisherField required />

View File

@@ -12,4 +12,4 @@ This file is imported by ``invenio_theme_tugraz.__init__``,
and parsed by ``setup.py``.
"""
__version__ = "2.0.1"
__version__ = "2.0.4"