Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
b4c9e31d
Commit
b4c9e31d
authored
May 11, 2021
by
Paul Kaplan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include removecurator notification
parent
02a5c0b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
src/views/studio/l10n.json
src/views/studio/l10n.json
+1
-0
src/views/studio/studio-activity.jsx
src/views/studio/studio-activity.jsx
+26
-0
No files found.
src/views/studio/l10n.json
View file @
b4c9e31d
...
@@ -30,5 +30,6 @@
...
@@ -30,5 +30,6 @@
"studio.activityRemoveProjectStudio"
:
"{profileLink} removed the project {projectLink}"
,
"studio.activityRemoveProjectStudio"
:
"{profileLink} removed the project {projectLink}"
,
"studio.activityUpdateStudio"
:
"{profileLink} made edits to the title, thumbnail, or description"
,
"studio.activityUpdateStudio"
:
"{profileLink} made edits to the title, thumbnail, or description"
,
"studio.activityBecomeCurator"
:
"{newCuratorProfileLink} accepted an invitation from {inviterProfileLink} to curate this studio"
,
"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}"
"studio.activityBecomeOwner"
:
"{promotedProfileLink} was promoted to manager by {promotorProfileLink}"
}
}
src/views/studio/studio-activity.jsx
View file @
b4c9e31d
...
@@ -115,6 +115,32 @@ const getComponentForItem = item => {
...
@@ -115,6 +115,32 @@ const getComponentForItem = item => {
/>
/>
</
SocialMessage
>
</
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
'
:
case
'
becomeownerstudio
'
:
return
(
return
(
<
SocialMessage
<
SocialMessage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment