-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(appOwner): convert app owner emails to html (#169)
- Loading branch information
1 parent
9aedf00
commit 7865051
Showing
6 changed files
with
92 additions
and
76 deletions.
There are no files selected for viewing
13 changes: 7 additions & 6 deletions
13
echo-notifications/src/main/resources/templates/appOwnerMultipleUsers/body-email.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
The owner email for the following applications matches multiple users: | ||
|
||
<#foreach event in notification.additionalContext.events>${event.email} owns... | ||
<#foreach application in event.applications>- ${application.name} | ||
<p>The owner email for the following applications matches multiple users:</p> | ||
<#foreach event in notification.additionalContext.events> | ||
${event.email} owns... | ||
<ul> | ||
<#foreach application in event.applications><li>${application.name}</li></#foreach> | ||
</ul> | ||
<br/> | ||
</#foreach> | ||
|
||
</#foreach> |
13 changes: 7 additions & 6 deletions
13
echo-notifications/src/main/resources/templates/appOwnerOutdatedNoSuggestion/body-email.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
The following users are ex-employees but still own applications. We could not identify managers or team members to reassign to. | ||
|
||
<#foreach event in notification.additionalContext.events>${event.user.name}<${event.user.email}> owns... | ||
<#foreach application in event.applications>- ${application.name} | ||
<p>The following users are ex-employees but still own applications. We could not identify managers or team members to reassign to.</p> | ||
<#foreach event in notification.additionalContext.events> | ||
${event.user.name} (${event.user.email}) owns... | ||
<ul> | ||
<#foreach application in event.applications><li>${application.name}</li></#foreach> | ||
</ul> | ||
<br/> | ||
</#foreach> | ||
|
||
</#foreach> |
16 changes: 9 additions & 7 deletions
16
echo-notifications/src/main/resources/templates/appOwnerOutdatedReassign/body-email.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
The following users are ex-employees but still own applications. We have identified possible managers or team members to reassign to. | ||
|
||
<#foreach event in notification.additionalContext.events>${event.user.name}<${event.user.email}> owns... | ||
<#foreach application in event.applications>- ${application.name} | ||
</#foreach>Suggest reassigning to ${event.suggestedUser.name}<${event.suggestedUser.email}> | ||
|
||
</#foreach> | ||
<p>The following users are ex-employees but still own applications. We have identified possible managers or team members to reassign to.</p> | ||
<#foreach event in notification.additionalContext.events> | ||
${event.user.name} (${event.user.email}) owns... | ||
<ul> | ||
<#foreach application in event.applications><li>${application.name}</li></#foreach> | ||
</ul> | ||
<p>Suggest reassigning to ${event.suggestedUser.name} (${event.suggestedUser.email})</p> | ||
<br/> | ||
</#foreach> |
13 changes: 7 additions & 6 deletions
13
echo-notifications/src/main/resources/templates/appOwnerUnknown/body-email.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
The following email addresses are not recognized employee or group addresses but own applications. | ||
|
||
<#foreach event in notification.additionalContext.events>${event.email} owns... | ||
<#foreach application in event.applications>- ${application.name} | ||
<p>The following email addresses are not recognized employee or group addresses but own applications.</p> | ||
<#foreach event in notification.additionalContext.events> | ||
${event.email} owns... | ||
<ul> | ||
<#foreach application in event.applications><li>${application.name}</li></#foreach> | ||
</ul> | ||
<br/> | ||
</#foreach> | ||
|
||
</#foreach> |
13 changes: 7 additions & 6 deletions
13
echo-notifications/src/main/resources/templates/appsReassigned/body-email.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
The following applications have been reassigned to you as their owner is no longer a Netflix employee and you are the current manager of their team. | ||
|
||
<#foreach event in notification.additionalContext.events>${event.user.name}<${event.user.email}> owned... | ||
<#foreach application in event.applications>- ${application.name} | ||
<p>The following applications have been reassigned to you as their owner is no longer a Netflix employee and you are the current manager of their team.</p> | ||
<#foreach event in notification.additionalContext.events> | ||
${event.user.name} (${event.user.email}) owned... | ||
<ul> | ||
<#foreach application in event.applications><li>${application.name}</li></#foreach> | ||
</ul> | ||
<br/> | ||
</#foreach> | ||
|
||
</#foreach> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters