-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds publishing_request_cancellation mailer template and test
- Loading branch information
1 parent
830bffa
commit 801b364
Showing
4 changed files
with
52 additions
and
1 deletion.
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,16 @@ | ||
Hi <%= @gatekeeper.name -%>, | ||
|
||
The <%= Seek::Config.instance_name %> user <%= @publisher.name -%>, <%= person_url(@publisher) -%>, has cancelled a request previously sent to you to publish the following item(s): | ||
<% @resources.each do |resource|%> | ||
<% controller=resource.class.name.underscore.pluralize -%> | ||
<%= resource.model_name.human -%>: <%= resource.title -%> - <%= url_for(:action=>:show,:controller=>controller,:id=>resource, :only_path => false) -%> | ||
<% end %> | ||
|
||
You do not need to take action. | ||
|
||
You can contact <%= @publisher.first_name.capitalize -%> by replying to this email. | ||
|
||
This is an automated email. | ||
|
||
- <%= Seek::Config.instance_admins_name %> Team |
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,13 @@ | ||
Hi Gatekeeper Last, | ||
|
||
The Sysmo SEEK user Aaron Spiggle, http://localhost:3000/people/-requester_id-, has cancelled a request previously sent to you to publish the following item(s): | ||
Data file: Picture - http://localhost:3000/data_files/-df_id- | ||
Model: Teusink - http://localhost:3000/models/-model_id- | ||
|
||
You do not need to take action. | ||
|
||
You can contact Aaron by replying to this email. | ||
|
||
This is an automated email. | ||
|
||
- SysMO-DB Team |
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