-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from robfletcher/master
new email notification type
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
echo-notifications/src/main/resources/templates/appOwnership/body-email.vm
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#if($notification.additionalContext.outdated.size() > 0) | ||
The following applications are owned by ex-employees: | ||
|
||
#foreach($application in $notification.additionalContext.outdated) | ||
$application.name in $application.accounts owned by $application.owner.name<$application.owner.email> | ||
#if($application.suggestedOwner) | ||
- suggest reassigning to $application.suggestedOwner.name<$application.suggestedOwner.email>. | ||
#else | ||
- no suggested owner found for reassignment. | ||
#end | ||
#end | ||
|
||
#end | ||
#if($notification.additionalContext.unknown.size() > 0) | ||
The following applications are owned by unidentifiable users: | ||
|
||
#foreach($application in $notification.additionalContext.unknown) | ||
$application.name in $application.accounts owned by <$application.owner.email> | ||
#end | ||
|
||
#end | ||
#if($notification.additionalContext.multiple.size() > 0) | ||
The owner email for the following applications matches multiple users: | ||
|
||
#foreach($application in $notification.additionalContext.multiple) | ||
$application.name in $application.accounts owned by <$application.owner.email> | ||
#end | ||
|
||
#end |
1 change: 1 addition & 0 deletions
1
echo-notifications/src/main/resources/templates/appOwnership/subject.vm
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Report of issues with application owners |