SciPost Code Repository

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

Add direct admin edit link for Report

parent a393a9b9
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,9 @@ ...@@ -68,6 +68,9 @@
{% if perms.scipost.can_manage_reports %} {% if perms.scipost.can_manage_reports %}
<h3 class="mt-2">Administration</h3> <h3 class="mt-2">Administration</h3>
<ul> <ul>
{% if user.is_superuser %}
<li><a href="{% url 'admin:submissions_report_change' report.id %}" target="_blank">Edit in admin (superusers only)</a>
{% endif %}
<li><a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a></li> <li><a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a></li>
<li>Mark DOI as <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=1 %}">needed</a> / <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=0 %}">not needed</a></li> <li>Mark DOI as <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=1 %}">needed</a> / <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=0 %}">not needed</a></li>
<li><a href="{% url 'journals:generic_metadata_xml_deposit' type_of_object='report' object_id=report.id %}">Create the metadata and deposit it to Crossref</a></li> <li><a href="{% url 'journals:generic_metadata_xml_deposit' type_of_object='report' object_id=report.id %}">Create the metadata and deposit it to Crossref</a></li>
......
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