houdini/app/views/components/_custom_receipt_modal.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

23 lines
1.1 KiB
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/_custom_receipt_modal -->
<%# requires type, path, key and text %>
<div class='modal' id='customReceiptModal'>
<%= render 'common/modal_header', title: title %>
<section class='modal-body'>
<p>
You can add an optional message
<% if type == 'event' %>
to your attendees which will appear at the top of their ticket emails.
<% else %>
to your campaign contributors which will appear on their contribution receipts. If you leave it blank,
<a href="/settings?p=receipts&s=settings-pane" target='_blank'> your custom donation receipt message</a> will be used.
<% end %>
</p>
<p class='u-marginBottom--20'><%= render 'components/messages/html_email_disclaimer' %></p>
<div class='editable editable--email' id='js-customReceipt' data-path='<%= path %>' data-key='<%= key %>'>
<%= raw(text) %>
</div>
</section>
</div>
<!-- partial end: components/_custom_receipt_modal -->