houdini/app/views/admin_mailer/notify_failed_gift.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
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.
2018-03-25 15:10:40 -04:00

24 lines
No EOL
732 B
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<p>Dear admin,</p>
<p>The following donation was tried to be associated with a campaign gift option. You SHOULD refund the donation
as there are no other gifts available:</p>
<%= render 'donation_mailer/donation_payment_table', donation: @donation, charge: @donation.charges.last %>
<p> The associated gift was for:</p>
<table>
<tr>
<td>Name:</td>
<td><%=@campaign_gift_option.name%></td>
</tr>
<tr>
<td>Description:</td>
<td><%=@campaign_gift_option.description.nil? ? '' : @campaign_gift_option.description%></td>
</tr>
<tr>
<td>Id:</td>
<td><%=@campaign_gift_option.id%></td>
</tr>
</table>