diff --git a/CHANGELOG.md b/CHANGELOG.md index 87f02b64..686bd299 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Use `name` field for contributors on preprint-detail page - Prevent banner from loading on `preprint-detail` page if preprint is undefined +- Show DOI url if it exists ## Changed - Use Ember-CSS-Modules diff --git a/app/templates/preprints/provider/preprint-detail.hbs b/app/templates/preprints/provider/preprint-detail.hbs index 132b623a..d52ca042 100644 --- a/app/templates/preprints/provider/preprint-detail.hbs +++ b/app/templates/preprints/provider/preprint-detail.hbs @@ -92,7 +92,7 @@

{{t "content.preprintDOI"}}

- {{#if preprint.isPublished}} + {{#if preprint.preprintDoiUrl}} {{#if preprint.preprintDoiCreated}} {{extract-doi preprint.preprintDoiUrl}} {{else}}