SciPost Code Repository

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

Tweak method name

parent 5135cf15
No related branches found
No related tags found
No related merge requests found
...@@ -757,7 +757,7 @@ class Submission(models.Model): ...@@ -757,7 +757,7 @@ class Submission(models.Model):
return self.editorial_assignments.preassigned().exists() return self.editorial_assignments.preassigned().exists()
def has_inadequate_fellowship_composition(self): def eic_not_in_fellowship(self):
""" """
Check whether the EIC is actually in the fellowship of the Submission. Check whether the EIC is actually in the fellowship of the Submission.
""" """
......
...@@ -117,17 +117,17 @@ ...@@ -117,17 +117,17 @@
</div> </div>
</div> </div>
{% if request.user.contributor.is_ed_admin and submission.has_inadequate_fellowship_composition %} {% if request.user.contributor.is_ed_admin and submission.eic_not_in_fellowship %}
<div class="border border-danger text-danger mt-1 py-1 px-2"> <div class="border border-danger text-danger mt-1 py-1 px-2">
<strong> <strong>
{% include 'bi/exclamation-triangle-fill.html' %} {% include 'bi/exclamation-triangle-fill.html' %}
Notice to admin: The current editor is not assigned to the pool. Therefore, the editor will not be able to reach the editorial page. Notice to admin: The current editor is not assigned to this Submission's fellowship and will not be able to reach the editorial page.
</strong> </strong>
</div> </div>
{% endif %} {% endif %}
{% if submission.status == 'seeking_assignment' %} {% if submission.in_stage_assignment %}
{% get_editor_invitations submission request.user as invitations %} {% get_editor_invitations submission request.user as invitations %}
{% if invitations %} {% if invitations %}
<div class="border border-warning mt-1 py-1 px-2"> <div class="border border-warning mt-1 py-1 px-2">
......
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