Skip to content

Commit 7f993ad

Browse files
authored
Merge pull request #178 from topcoder-platform/dev
Updated Email Templates
2 parents c54be52 + 4423a03 commit 7f993ad

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

emails/src/partials/project-team.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@
5858
<strong>{{userFullName}}</strong> joined the project
5959
{{/if}}
6060
{{#if [connect.notification.project.member.invite.created]}}
61-
{{#if [isSSO]}}
62-
Hi <strong>{{userFullName}}</strong>, you are invited to join the project {{projectName}}. Please use the link below to sign in and join the project.
63-
{{else}}
64-
Hi <strong>{{userFullName}}</strong>, you are invited to join the project {{projectName}}. Please click on the button ("View project on Connect") below to join.
65-
{{/if}}
61+
Hi <strong>{{userFullName}}</strong>, you are invited to join the project {{projectName}}. Please click on the button ("Join Project") below to join.
6662
{{/if}}
6763
{{#if [connect.notification.project.member.invite.requested]}}
6864
You are requested to add <strong>{{userFullName}}</strong> as a copilot

src/services/NotificationService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ function* listNotifications(query, userId) {
205205
if (_.keys(notificationSettings).length > 0) {
206206
// only filter out notifications types which were explicitly set to 'no' - so we return notification by default
207207
const notifications = _.keys(notificationSettings).filter((notificationType) =>
208-
!notificationSettings[notificationType] &&
209-
!notificationSettings[notificationType].web &&
208+
notificationSettings[notificationType] &&
209+
notificationSettings[notificationType].web &&
210210
notificationSettings[notificationType].web.enabled === 'no'
211211
);
212212
filter.where.type = Object.assign(filter.where.type || {}, { $notIn: notifications });

0 commit comments

Comments
 (0)