SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 67a89a95 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Update citation

parent c30b899a
No related branches found
No related tags found
No related merge requests found
...@@ -530,7 +530,7 @@ class Report(SubmissionRelatedObjectMixin, models.Model): ...@@ -530,7 +530,7 @@ class Report(SubmissionRelatedObjectMixin, models.Model):
citation += 'Anonymous, ' citation += 'Anonymous, '
else: else:
citation += '%s %s, ' % (self.author.user.first_name, self.author.user.last_name) citation += '%s %s, ' % (self.author.user.first_name, self.author.user.last_name)
citation += 'Report on %s, ' % self.submission.arxiv_identifier_w_vn_nr citation += 'Report on arXiv:%s, ' % self.submission.arxiv_identifier_w_vn_nr
citation += 'delivered %s, ' % self.date_submitted.strftime('%Y-%m-%d') citation += 'delivered %s, ' % self.date_submitted.strftime('%Y-%m-%d')
citation += 'doi: %s' % self.doi_string citation += 'doi: %s' % self.doi_string
return citation return citation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment