SciPost Code Repository

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

Tweak presentation

parent b3b93ee0
No related branches found
No related tags found
No related merge requests found
<li class="py-1">
{{ assignment.to.user.first_name }} {{ assignment.to.user.last_name }}
{{ assignment.to.user.first_name }} {{ assignment.to.user.last_name }}&nbsp;
{% if assignment.invited %}
<span class="label label-sm label-info">invited</span>
<span class="label label-sm label-info p-1">invited</span>
{% endif %}
{% if assignment.accepted %}
<span class="label label-sm label-outline-success">accepted</span>
<span class="label label-sm label-outline-success p-1">accepted</span>
{% endif %}
{% if assignment.deprecated %}
<span class="label label-sm label-outline-info">deprecated</span>
<span class="label label-sm label-outline-info p-1">deprecated</span>
{% endif %}
{% if assignment.replaced %}
<span class="label label-sm label-outline-warning">replaced</span>
<span class="label label-sm label-outline-warning p-1">replaced</span>
{% endif %}
{% if assignment.refusal_reason %}
<span class="label label-sm label-outline-{% if assignment.refusal_reason == 'NIE' or assignment.refusal_reason == 'DNP' %}danger{% else %}warning{% endif %}">declined
<span class="label label-sm p-1 label-outline-{% if assignment.refusal_reason == 'NIE' or assignment.refusal_reason == 'DNP' %}danger{% else %}warning{% endif %}">declined
| Reason: {{ assignment.get_refusal_reason_display }}
</span>
{% endif %}
......
......@@ -72,14 +72,13 @@
{# EIC Assignments #}
<li>Screening: invitations to take charge
<ul class="ps-3">
{% if not submission.editor_in_charge %}
<li>
<span class="text-danger">
There is no Editor-in-charge yet {% include 'bi/arrow-right.html' %}
</span>
<a href="{% url 'submissions:editor_invitations' submission.preprint.identifier_w_vn_nr %}">Manage editor invitations</a></li>
{% endif %}
{% if not submission.editor_in_charge %}
<span class="border border-danger text-danger ms-2 p-1">
There is no Editor-in-charge yet {% include 'bi/arrow-right.html' %}
<a href="{% url 'submissions:editor_invitations' submission.preprint.identifier_w_vn_nr %}">Manage editor invitations</a>
</span>
{% endif %}
<ul class="mt-2 ps-3">
{% for assignment in submission.editorial_assignments.all %}
{% include 'submissions/pool/_assignment_info.html' with assignment=assignment %}
{% empty %}
......
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