SciPost Code Repository

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

Update citation

parent 7c7dc9c7
No related branches found
No related tags found
No related merge requests found
......@@ -531,7 +531,6 @@ class Report(SubmissionRelatedObjectMixin, models.Model):
else:
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 += 'SciPost Reports (%s), doi:' % self.date_submitted.strftime('%Y')
citation += self.doi_string
return citation
......
......@@ -53,7 +53,7 @@
on {{ report.date_submitted|date:'Y-n-j' }}</h3>
</h3>
<ul class="publicationClickables">
{% if report.doi_string %}<li>{{ report|citation }}</li>{% endif %}
{% if report.doi_string %}<li>Cite: <span class="citation">{{ report|citation }}</span></li>{% endif %}
{% if report.pdf_report %}
<li><a href="{% url 'submissions:report_detail_pdf' report.submission.arxiv_identifier_w_vn_nr report.report_nr %}" target="_blank">Download as PDF</a></li>
{% endif %}
......
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