SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 01d7a917 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

reword eic display in communications

parent e5e9d55a
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,8 @@ class EditorialCommunication(SubmissionRelatedObjectMixin, models.Model): ...@@ -66,6 +66,8 @@ class EditorialCommunication(SubmissionRelatedObjectMixin, models.Model):
def _resolve_contributor_name(self, letter: str): def _resolve_contributor_name(self, letter: str):
if letter == "S": if letter == "S":
return "SciPost Editorial Administration" return "SciPost Editorial Administration"
elif letter == "E":
return "Editor in Charge"
elif contributor := self._resolve_contributor_from_letter(letter): elif contributor := self._resolve_contributor_from_letter(letter):
return f"{contributor.profile_title} {contributor.user.last_name}" return f"{contributor.profile_title} {contributor.user.last_name}"
return "Unknown" return "Unknown"
......
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