Commit b4c9e31d authored by Paul Kaplan's avatar Paul Kaplan

Include removecurator notification

parent 02a5c0b4
......@@ -30,5 +30,6 @@
"studio.activityRemoveProjectStudio": "{profileLink} removed the project {projectLink}",
"studio.activityUpdateStudio": "{profileLink} made edits to the title, thumbnail, or description",
"studio.activityBecomeCurator": "{newCuratorProfileLink} accepted an invitation from {inviterProfileLink} to curate this studio",
"studio.activityRemoveCurator": "{removerProfileLink} removed the curator {removedProfileLink}",
"studio.activityBecomeOwner": "{promotedProfileLink} was promoted to manager by {promotorProfileLink}"
}
......@@ -115,6 +115,32 @@ const getComponentForItem = item => {
/>
</SocialMessage>
);
case 'removecuratorstudio':
return (
<SocialMessage
datetime={item.datetime_created}
iconSrc="/svgs/studio/activity-curator.svg"
iconAlt="curator activity icon"
imgClassName="studio-activity-icon"
key={item.id}
>
<FormattedMessage
id="studio.activityRemoveCurator"
values={{
removedProfileLink: (
<a href={`/users/${item.username}`}>
{item.username}
</a>
),
removerProfileLink: (
<a href={`/users/${item.actor_username}`}>
{item.actor_username}
</a>
)
}}
/>
</SocialMessage>
);
case 'becomeownerstudio':
return (
<SocialMessage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment