Skip to content

Commit cd58347

Browse files
authored
Update template for sso users
1 parent d6b9713 commit cd58347

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

emails/src/partials/project-team.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
<strong>{{userFullName}}</strong> joined the project
5959
{{/if}}
6060
{{#if [notifications.connect.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}}
6164
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}}
6266
{{/if}}
6367
{{#if [notifications.connect.project.member.invite.requested]}}
6468
You are requested to add <strong>{{userFullName}}</strong> as a copilot
@@ -107,9 +111,15 @@
107111
Manage project team
108112
</a>
109113
{{else}}
114+
{{#if [isSSO]}}
115+
<a href="{{@root.accountsAppURL}}/sso-login/?app=connect&retUrl={{@root.connectURL}}/projects/{{notifications.[0].projectId}}">
116+
SSO Login
117+
</a>
118+
{{else}}
110119
<a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}">
111120
View project on Connect
112121
</a>
122+
{{/if}}
113123
{{/if}}
114124
</td>
115125
<td class="empty-child-one"></td>

0 commit comments

Comments
 (0)