SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5ecae08d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Merge branch 'hotfix_JSC_20170909_dois'

parents e1dbd792 2e1e28e6
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,15 @@
<h3>{% if report.anonymous %}Anonymous Report {{report.report_nr}}{% else %}<a href="{{report.author.get_absolute_url}}">{{ report.author.user.first_name }} {{ report.author.user.last_name }}</a>{% endif %}
on {{ report.date_submitted|date:'Y-n-j' }}</h3>
</h3>
{% if report.pdf_report %}
<a href="{% url 'submissions:report_detail_pdf' report.submission.arxiv_identifier_w_vn_nr report.report_nr %}" target="_blank">Download as PDF</a>
{% endif %}
{% if perms.scipost.can_manage_reports %}
{% if report.pdf_report %}&middot; {% endif %}<a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a>
{% endif %}
<ul class="publicationClickables">
{% if report.doi_string %}<li>doi: {{ report.doi_string }}</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 %}
{% if perms.scipost.can_manage_reports %}
<li><a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a></li>
{% endif %}
</ul>
</div>
{% include 'submissions/_single_report_content.html' with report=report %}
......
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