diff --git a/scipost_django/submissions/models/submission.py b/scipost_django/submissions/models/submission.py index 5d9f218fb09a66a4ef6640c4e89b08f1ba821cc6..13cd9f55dca5a0188faed282168c513206c7f6ab 100644 --- a/scipost_django/submissions/models/submission.py +++ b/scipost_django/submissions/models/submission.py @@ -757,7 +757,7 @@ class Submission(models.Model): 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. """ diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_details_summary_contents.html b/scipost_django/submissions/templates/submissions/pool/_submission_details_summary_contents.html index 4fdaca9a30660d69398d4d0c400960acfa818a73..2dd00d1881f606c83a636c267458928b4936e796 100644 --- a/scipost_django/submissions/templates/submissions/pool/_submission_details_summary_contents.html +++ b/scipost_django/submissions/templates/submissions/pool/_submission_details_summary_contents.html @@ -117,17 +117,17 @@ </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"> <strong> {% 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> </div> {% endif %} -{% if submission.status == 'seeking_assignment' %} +{% if submission.in_stage_assignment %} {% get_editor_invitations submission request.user as invitations %} {% if invitations %} <div class="border border-warning mt-1 py-1 px-2">