Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Notification
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
Notification
Merge requests
!9
Topic/1126 enable html email
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Topic/1126 enable html email
Topic/1126-enableHTMLEmail
into
Product/1089-htmlEmail
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Topic/1126 enable html email
Marcel Nellesen
requested to merge
Topic/1126-enableHTMLEmail
into
Product/1089-htmlEmail
Nov 3, 2020
Overview
0
Commits
1
Pipelines
2
Changes
2
coscine/issues#1126
Edited
Nov 4, 2020
by
L. Ellenbeck
0
0
Merge request reports
Compare
Product/1089-htmlEmail
Product/1089-htmlEmail (base)
and
latest version
latest version
4596831e
1 commit,
Nov 3, 2020
2 files
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/NotificationBus/Controller/NotificationBusController.cs
+
1
−
2
View file @ 4596831e
Edit in single-file editor
Open in Web IDE
Show full file
@@ -55,7 +55,6 @@ namespace Coscine.Api.NotificationBus.Controllers
private
async
Task
SendNotifications
(
NotificationParameterObject
notificationParameterObject
)
{
List
<
User
>
users
=
GetUsers
(
notificationParameterObject
.
UserIds
);
Project
project
=
GetProject
(
notificationParameterObject
.
ProjectId
);
var
action
=
notificationParameterObject
.
Action
;
ActionObject
actionObject
=
_notificationConfiguration
.
GetAction
(
action
);
@@ -84,7 +83,7 @@ namespace Coscine.Api.NotificationBus.Controllers
}
// for every available user
foreach
(
User
user
in
u
sers
)
foreach
(
User
user
in
notificationParameterObject
.
U
sers
)
{
JObject
messageData
=
FillTemplate
(
channelName
,
actionObject
,
notificationParameterObject
.
Args
,
user
,
project
);
Loading