Skip to content

Commit

Permalink
#3051 Add controls on article review page for handling accepted articles
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull committed Aug 4, 2022
1 parent d2b3f33 commit 09485ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/templates/admin/review/in_review.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,14 @@ <h2>Actions</h2>
<li><a data-open="summarymodal"><i class="fa fa-server action-icon">&nbsp;</i>View Metadata</a>
</li>
<li><a href="{% url 'document_management' article.pk %}?return={{ request.path }}"><i class="fa fa-file-archive-o">&nbsp;</i>Document Management</a></li>
{% if article.is_accepted %}
<li>
<a href="{% url 'move_to_next_workflow_element' article.pk %}">
<i class="fa fa-arrow-circle-right action-icon">&nbsp;</i>
{% trans 'Move to Next Stage' %}
</a>
</li>
{% else %}
<li>
<a href="{% url 'decision_helper' article.pk %}">
<span class="fa fa-gavel"></span> Make a Decision
Expand All @@ -234,17 +242,22 @@ <h2>Actions</h2>
<i class="fa fa-plus-circle action-icon">&nbsp;</i>New Review Round
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div><!--/col-lg-12 -->
</div>
{% include "admin/elements/summary_modal.html" %}
{% include "admin/elements/review/new_round_modal.html" %}
{% include "admin/elements/move_to_next_modal.html" %}

{% endblock body %}

{% block js %}
<script src="{% static "admin/js/modal.js" %}"></script>
{% include "elements/notes/note_script.html" %}
{% if article.is_accepted %}
{% include "admin/elements/open_modal.html" with target='move_to_next_modal' %}
{% endif %}
{% endblock js %}

0 comments on commit 09485ee

Please sign in to comment.