This repository has been archived by the owner on Oct 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This came up in Code Review - Also fixes bug where admins were notified instead of the User when approved/denied.
- Loading branch information
Showing
3 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
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
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,12 @@ | ||
@***************************************************************************** | ||
* Email template to notify Subscriber admins a User requested to join * | ||
* Copyright (c) 2015 MIT Libraries * | ||
*****************************************************************************@ | ||
@(subscriber: Subscriber, identity: User)(implicit request: play.api.mvc.RequestHeader) | ||
|
||
The following person has requested to join a Subscriber you are an administrator for. | ||
Subscriber Group: @subscriber.name | ||
User: @identity.email | ||
|
||
You can approve this user on the Subscriber User List: | ||
@routes.Application.subscriberUsers(subscriber.id).absoluteURL() |
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,10 @@ | ||
@***************************************************************************** | ||
* Email template to notify Subscriber when admin responds to join request * | ||
* Copyright (c) 2015 MIT Libraries * | ||
*****************************************************************************@ | ||
@(subscriber: Subscriber, resolution: String)(implicit request: play.api.mvc.RequestHeader) | ||
|
||
Your request to join Subscriber Group: @subscriber.name has been @resolution. | ||
|
||
You may visit SCOAP3Hub at: | ||
@routes.Application.index.absoluteURL() |