22adb4d5fd
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
38 lines
978 B
Text
38 lines
978 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<p>
|
|
A recurring donation from one of your supporters has been cancelled. Details are below.
|
|
</p>
|
|
<br>
|
|
|
|
<p>
|
|
This donation was cancelled by <%= @donation.recurring_donation.cancelled_by %>.
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
The donor has also received a notification of the cancellation.
|
|
</p>
|
|
<br>
|
|
|
|
<% if @charge && @charge.failure_message.present? %>
|
|
<p>
|
|
The failure message we received from the payment processor was: <%= @charge.failure_message %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= render 'components/email/supporter_table', supporter: @donation.supporter %>
|
|
<br>
|
|
<%= render 'cancelled_recurring_donation_table', donation: @donation %>
|
|
<br>
|
|
<%= render 'recurring_donation_table', donation: @donation %>
|
|
<br>
|
|
|
|
<p>
|
|
You can also access settings for this recurring donation from your
|
|
<a href='<%= nonprofits_recurring_donations_url(@nonprofit) %>'>
|
|
Recurring Donations Dashboard
|
|
</a>
|
|
</p>
|
|
|
|
<%= render 'emails/sig' %>
|