Skip to content
Snippets Groups Projects
Commit 2fd164ff authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Make sure we dont show the user's name twice in activities

parent 9f93a0a3
No related branches found
No related tags found
No related merge requests found
...@@ -108,13 +108,13 @@ class ActivityAdapter(AdapterBase): ...@@ -108,13 +108,13 @@ class ActivityAdapter(AdapterBase):
messages = { messages = {
MESSAGES.TRANSITION: 'Progressed from {old_phase.display_name} to {submission.phase}', MESSAGES.TRANSITION: 'Progressed from {old_phase.display_name} to {submission.phase}',
MESSAGES.NEW_SUBMISSION: 'Submitted {submission.title} for {submission.page.title}', MESSAGES.NEW_SUBMISSION: 'Submitted {submission.title} for {submission.page.title}',
MESSAGES.EDIT: '{user} edited', MESSAGES.EDIT: 'Edited',
MESSAGES.UPDATE_LEAD: 'Lead changed from {old.lead} to {submission.lead}', MESSAGES.UPDATE_LEAD: 'Lead changed from {old.lead} to {submission.lead}',
MESSAGES.DETERMINATION_OUTCOME: 'Sent a determination. Outcome: {submission.determination.clean_outcome}', MESSAGES.DETERMINATION_OUTCOME: 'Sent a determination. Outcome: {submission.determination.clean_outcome}',
MESSAGES.INVITED_TO_PROPOSAL: 'Invited to submit a proposal', MESSAGES.INVITED_TO_PROPOSAL: 'Invited to submit a proposal',
MESSAGES.REVIEWERS_UPDATED: 'reviewers_updated', MESSAGES.REVIEWERS_UPDATED: 'reviewers_updated',
MESSAGES.NEW_REVIEW: '{user} submitted a review', MESSAGES.NEW_REVIEW: 'Submitted a review',
MESSAGES.OPENED_SEALED: '{user} opened the submission while still sealed', MESSAGES.OPENED_SEALED: 'Opened the submission while still sealed',
} }
def recipients(self, message_type, **kwargs): def recipients(self, message_type, **kwargs):
......
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