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.
This commit is contained in:
Bradley M. Kuhn 2018-03-25 13:20:54 -04:00
parent dff436355d
commit 22adb4d5fd
354 changed files with 354 additions and 0 deletions

View file

@ -1,2 +1,3 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
@import 'common/vendor/froala_editor'; @import 'common/vendor/froala_editor';
@import 'common/vendor/quill.bubble'; @import 'common/vendor/quill.bubble';

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
/*! /*!
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
/* Bitter */ /* Bitter */
$condensed: '<%= asset_path('Open_Sans_Condensed') %>'; $condensed: '<%= asset_path('Open_Sans_Condensed') %>';

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
@charset "UTF-8"; @charset "UTF-8";
$path: "<%= asset_path('Streamline') %>"; $path: "<%= asset_path('Streamline') %>";

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
@import 'mixins'; @import 'mixins';
.editable, .editable,

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<p>Dear admin,</p> <p>Dear admin,</p>
<p>The following donation was tried to be associated with a campaign gift option. You SHOULD refund the donation <p>The following donation was tried to be associated with a campaign gift option. You SHOULD refund the donation

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<p> <p>
Dear <%= @nonprofit.name %>, Dear <%= @nonprofit.name %>,
</p> </p>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='newBillingSubscriptionModal'> <div class='modal skinny' id='newBillingSubscriptionModal'>
<%= render 'common/modal_header', title: "Movin' on up!" %> <%= render 'common/modal_header', title: "Movin' on up!" %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='u-maxWidth--600 u-margin--auto u-marginTop--50 u-padding--15 js-view-confirm'> <div class='u-maxWidth--600 u-margin--auto u-marginTop--50 u-padding--15 js-view-confirm'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<script> <script>
(function() { (function() {
if(document.querySelector('.commitchange-donate[data-fixed]')) return; if(document.querySelector('.commitchange-donate[data-fixed]')) return;

View file

@ -1,2 +1,3 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<iframe frameborder='0' width='390' height='410' src="/nonprofits/<%= @np %>/donate?offsite=t&mode=embedded"></iframe> <iframe frameborder='0' width='390' height='410' src="/nonprofits/<%= @np %>/donate?offsite=t&mode=embedded"></iframe>
<script>var iframe = document.getElementsByTagName('iframe')[0]; iframe.setAttribute("src", iframe.src + window.location.search)</script> <script>var iframe = document.getElementsByTagName('iframe')[0]; iframe.setAttribute("src", iframe.src + window.location.search)</script>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal wide' id='giftOptionFormModal'> <div class='modal wide' id='giftOptionFormModal'>
<!--= scope 'gift_options.current' --> <!--= scope 'gift_options.current' -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal fullScreen' id='manageGiftOptionsModal'> <div class='modal fullScreen' id='manageGiftOptionsModal'>
<%= render 'common/modal_header', title: 'Manage Gift Options' %> <%= render 'common/modal_header', title: 'Manage Gift Options' %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% campaign_url = Format::Url.concat(root_url, @campaign.url) %> <% campaign_url = Format::Url.concat(root_url, @campaign.url) %>
<p>Dear <%= @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name %>,</p> <p>Dear <%= @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name %>,</p>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<section class='admin-topNav tour-admin'> <section class='admin-topNav tour-admin'>
<div class='container u-centered'> <div class='container u-centered'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='u-marginBottom--15 u-relative'> <div class='u-marginBottom--15 u-relative'>
<% has_video = @campaign.vimeo_video_id || @campaign.youtube_video_id %> <% has_video = @campaign.vimeo_video_id || @campaign.youtube_video_id %>
<% text = has_video ? "Edit Video" : "Add Video" %> <% text = has_video ? "Edit Video" : "Add Video" %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% selector ||= nil %> <% selector ||= nil %>
<div class='progressBar--medium-fill' if-branded='background-color, light'> <div class='progressBar--medium-fill' if-branded='background-color, light'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<table class='table--striped u-marginBottom--0'> <table class='table--striped u-marginBottom--0'>
<% campaigns.each do |campaign |%> <% campaigns.each do |campaign |%>
<tr> <tr>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: campaigns/fixed_top_actions --> <!-- partial start: campaigns/fixed_top_actions -->
<div class='fixedTopAction fixedTopAction--campaign' <%= current_campaign_editor? ? "style='padding-left: 60px'".html_safe : "" %>> <div class='fixedTopAction fixedTopAction--campaign' <%= current_campaign_editor? ? "style='padding-left: 60px'".html_safe : "" %>>
<div class='container'> <div class='container'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: campaigns/header_content --> <!-- partial start: campaigns/header_content -->
<h1 class='fundraisingHeader-content-title u-centered'><%= @campaign.name %></h1> <h1 class='fundraisingHeader-content-title u-centered'><%= @campaign.name %></h1>
<% if @campaign.tagline.present? %> <% if @campaign.tagline.present? %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial campaigns/new-modal --> <!-- partial campaigns/new-modal -->
<!-- include 'campaigns/new/index' --> <!-- include 'campaigns/new/index' -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": "http://schema.org", "@context": "http://schema.org",

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<input type='text' placeholder="Type nonprofit name here" class='u-marginBottom--0'> <input type='text' placeholder="Type nonprofit name here" class='u-marginBottom--0'>
<!--= on "keyup" (search_nonprofits get_value) --> <!--= on "keyup" (search_nonprofits get_value) -->
<!--= set_value selected_result.name --> <!--= set_value selected_result.name -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal fullScreen campaignSettings' id='campaignSettings'> <div class='modal fullScreen campaignSettings' id='campaignSettings'>
<%= render 'common/modal_header', title: 'Campaign Settings' %> <%= render 'common/modal_header', title: 'Campaign Settings' %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='videoModal'> <div class='modal skinny' id='videoModal'>
<div class='modal-header'> <div class='modal-header'>
<h3>Campaign Video</h3> <h3>Campaign Video</h3>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% content_for(:fixed_position_cta_hidden) {'hidden'} %> <% content_for(:fixed_position_cta_hidden) {'hidden'} %>
<%= content_for :stylesheets do %> <%= content_for :stylesheets do %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% content_for :head do %> <% content_for :head do %>
<meta name="viewport" content="width=device-width, user-scalable=no"> <meta name="viewport" content="width=device-width, user-scalable=no">

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<%= content_for(:title_prefix) { "#{@campaign.name} - #{@campaign.nonprofit.name} | ".html_safe } %> <%= content_for(:title_prefix) { "#{@campaign.name} - #{@campaign.nonprofit.name} | ".html_safe } %>
<% content_for(:fixed_position_cta_hidden) {'hidden'} %> <% content_for(:fixed_position_cta_hidden) {'hidden'} %>
<%= content_for(:meta_description) {raw @campaign.summary} %> <%= content_for(:meta_description) {raw @campaign.summary} %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<table class='table--plaid u-marginBottom--20'> <table class='table--plaid u-marginBottom--20'>
<thead> <thead>
<th>Supporters</th> <th>Supporters</th>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% content_for(:dont_load_optimizely) {'true'} %> <% content_for(:dont_load_optimizely) {'true'} %>
<% content_for(:footer_hidden) {'hidden'} %> <% content_for(:footer_hidden) {'hidden'} %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% card_holder_name ||= current_user && !current_user.profile.full_name.blank? #XXX blech %> <% card_holder_name ||= current_user && !current_user.profile.full_name.blank? #XXX blech %>
<div class='u-background--grey group u-padding--8'> <div class='u-background--grey group u-padding--8'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% hide_dedication = false if hide_dedication.nil? %> <% hide_dedication = false if hide_dedication.nil? %>
<!-- partial start: cards/form_footer --> <!-- partial start: cards/form_footer -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial cards/new_modal --> <!-- partial cards/new_modal -->
<!-- use cards/new.js --> <!-- use cards/new.js -->
<!-- use cards.css.scss --> <!-- use cards.css.scss -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<table class='table'> <table class='table'>
<thead> <thead>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='chooseRoleModal'> <div class='modal skinny' id='chooseRoleModal'>
<header class='modal-header'> <header class='modal-header'>
<h3>Choose Role</h3> <h3>Choose Role</h3>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='emailConfirmationModal'> <div class='modal skinny' id='emailConfirmationModal'>
<%= render 'common/modal_header', title: 'Confirm Your Email' %> <%= render 'common/modal_header', title: 'Confirm Your Email' %>
<div class='modal-body'> <div class='modal-body'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='confirmation-modal'> <div class='modal skinny' id='confirmation-modal'>
<div class='modal-body'> <div class='modal-body'>
<%= render 'common/modal_close' %> <%= render 'common/modal_close' %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- "partial: common/email_share_modal" --> <!-- "partial: common/email_share_modal" -->
<!-- "fundraiser = Event, Campaign, or Nonprofit name" --> <!-- "fundraiser = Event, Campaign, or Nonprofit name" -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% if Settings.page_editor.editor == 'froala' %> <% if Settings.page_editor.editor == 'froala' %>
<%= IncludeAsset.js '/client/js/common/vendor/froala/page.js' %> <%= IncludeAsset.js '/client/js/common/vendor/froala/page.js' %>
<%= IncludeAsset.js '/client/js/common/vendor/froala/video/page.js' %> <%= IncludeAsset.js '/client/js/common/vendor/froala/video/page.js' %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<span class='commitchangeLogo'> <span class='commitchangeLogo'>
<%= image_tag Settings.general.logo_full, alt: Settings.general.name %> <%= image_tag Settings.general.logo_full, alt: Settings.general.name %>
</span> </span>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<span class='commitchangeLogo'> <span class='commitchangeLogo'>
<%= image_tag Settings.general.logo, alt: Settings.general.name%> <%= image_tag Settings.general.logo, alt: Settings.general.name%>
</span> </span>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: common/modal_close --> <!-- partial: common/modal_close -->
<img class='closeButton' src="<%= asset_path 'ui_components/close.svg' %>"> <img class='closeButton' src="<%= asset_path 'ui_components/close.svg' %>">

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% subtitle = '' if subtitle.nil? %> <% subtitle = '' if subtitle.nil? %>
<% class_name = '' if class_name.nil? %> <% class_name = '' if class_name.nil? %>
<% branded ||= false %> <% branded ||= false %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% loading = 'Loading...' if loading.nil? %> <% loading = 'Loading...' if loading.nil? %>
<% text = 'Submit' if text.nil? %> <% text = 'Submit' if text.nil? %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial common/onboarding_modals --> <!-- partial common/onboarding_modals -->
<%= render 'billing_subscriptions/new_modal' %> <%= render 'billing_subscriptions/new_modal' %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='layout--three shareButtons'> <div class='layout--three shareButtons'>
<div> <div>
<a <a

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<a target='_blank' class='button--circle facebook' href="<%= render 'components/facebook_link'%>"> <a target='_blank' class='button--circle facebook' href="<%= render 'components/facebook_link'%>">
<i class='fa fa-facebook '></i> <i class='fa fa-facebook '></i>
</a> </a>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% display_code = false if display_code.nil? %> <% display_code = false if display_code.nil? %>
<select name=<%= name %>> <select name=<%= name %>>

View file

@ -1 +1,2 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<meta name="viewport" content="width=device-width, user-scalable=no"> <meta name="viewport" content="width=device-width, user-scalable=no">

View file

@ -1,2 +1,3 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div id='js-activities'></div> <div id='js-activities'></div>

View file

@ -1 +1,2 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<button class='button--admin'></button> <button class='button--admin'></button>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/browser_buttons --> <!-- partial start components/browser_buttons -->
<div class='browserButtons'> <div class='browserButtons'>
<div class='browserButtons-inner'> <div class='browserButtons-inner'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/_custom_receipt_modal --> <!-- partial start: components/_custom_receipt_modal -->
<%# requires type, path, key and text %> <%# requires type, path, key and text %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/_drop_down --> <!-- partial start: components/_drop_down -->
<% extra_option ||= false %> <% extra_option ||= false %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='duplicateFundraiserModal'> <div class='modal skinny' id='duplicateFundraiserModal'>
<%= render 'common/modal_header', title: "Copy #{type}" %> <%= render 'common/modal_header', title: "Copy #{type}" %>
<section class='modal-body'> <section class='modal-body'>

View file

@ -1,2 +1,3 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% url = request.base_url + request.fullpath %> <% url = request.base_url + request.fullpath %>
https://www.facebook.com/dialog/share?app_id=<%= ENV.fetch('FACEBOOK_APP_ID') %>&display=popup&href=<%= url %>&redirect_uri=<%= url %> https://www.facebook.com/dialog/share?app_id=<%= ENV.fetch('FACEBOOK_APP_ID') %>&display=popup&href=<%= url %>&redirect_uri=<%= url %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/_footer_sub --> <!-- partial start: components/_footer_sub -->
<section class='globalFooter-sub'> <section class='globalFooter-sub'>
<div class='container'> <div class='container'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/_guest_footer --> <!-- partial start: components/_guest_footer -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% profile ||= nil %> <% profile ||= nil %>
<% has_mosaic ||= nil%> <% has_mosaic ||= nil%>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/loading_data --> <!-- partial start: components/loading_data -->
<span> <span>
<!--= hide_if loading_metrics --> <!--= hide_if loading_metrics -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<a class="npoCard" href="<%= npo_url %>" <a class="npoCard" href="<%= npo_url %>"
style="background-image: url('<%= asset_path "photos/square-#{npo_shorthand}-275.jpg" %>')" style="background-image: url('<%= asset_path "photos/square-#{npo_shorthand}-275.jpg" %>')"
target="_blank" title="See <%= title %>'s profile page"> target="_blank" title="See <%= title %>'s profile page">

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<section class='press-row'> <section class='press-row'>
<div class='container'> <div class='container'>
<img src='<%= asset_path 'logos/forbes.png' %>' class='press-image'> <img src='<%= asset_path 'logos/forbes.png' %>' class='press-image'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% if params[:preview] %> <% if params[:preview] %>
<div class='notification show'> <div class='notification show'>
Currently in <strong>preview mode</strong>. Currently in <strong>preview mode</strong>.

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<blockquote><%= quote %></blockquote> <blockquote><%= quote %></blockquote>
<div class='group'> <div class='group'>
<table class='u-marginTop--30 u-floatR'><tr> <table class='u-marginTop--30 u-floatR'><tr>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<%# use like this: render 'components/radio', label: 'Banana chips', name: 'fave_snacks' %> <%# use like this: render 'components/radio', label: 'Banana chips', name: 'fave_snacks' %>
<%# you can pass in an optional key for 'def'ing values to it %> <%# you can pass in an optional key for 'def'ing values to it %>
<%# if you have a set of radios, consider using components/_radio_set %> <%# if you have a set of radios, consider using components/_radio_set %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<%# use like this: render 'components/radio_set', <%# use like this: render 'components/radio_set',
name: 'ticket_payment_method', name: 'ticket_payment_method',
radios: ['Credit Card', 'Cash', 'Check'] %> radios: ['Credit Card', 'Cash', 'Check'] %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<p class='note'> <p class='note'>
Selected Plan: Selected Plan:
<span> <span>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal' id='shareModal'> <div class='modal' id='shareModal'>
<header class='modal-header'> <header class='modal-header'>
<h5 class='modal-header-title'><%= name %></h5> <h5 class='modal-header-title'><%= name %></h5>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/show_more --> <!-- partial start components/show_more -->
<footer class='moreResults group'> <footer class='moreResults group'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/_side_panel_close --> <!-- partial start components/_side_panel_close -->
<a class='button--closeSidePanel' title='Close'> <a class='button--closeSidePanel' title='Close'>
<!--= on 'click' close_side_panel --> <!--= on 'click' close_side_panel -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='todos u-marginBottom--15' style='display: none;'> <div class='todos u-marginBottom--15' style='display: none;'>
<!--= show_if (not (eq todos.percent_done 100)) --> <!--= show_if (not (eq todos.percent_done 100)) -->
<header class='todos-header'> <header class='todos-header'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/nav_top_links --> <!-- partial start: components/nav_top_links -->
<% if current_user %> <% if current_user %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: componenets/trial_bar --> <!-- partial start: componenets/trial_bar -->
<div class='is-showing announcementBar--grey'> <div class='is-showing announcementBar--grey'>
<div class='container transparent centered'> <div class='container transparent centered'>

View file

@ -1 +1,2 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
https://twitter.com/intent/tweet?url=<%= request.base_url + request.fullpath %>&via=CommitChange&text=<%= text %> https://twitter.com/intent/tweet?url=<%= request.base_url + request.fullpath %>&via=CommitChange&text=<%= text %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal' id='uploadBackgroundImage'> <div class='modal' id='uploadBackgroundImage'>
<%= render 'common/modal_header', title: 'Header Image' %> <%= render 'common/modal_header', title: 'Header Image' %>
<div class='modal-body'> <div class='modal-body'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
We are very sorry for any inconvenience that this caused you. Thank you for your patience and for your continued support. We are very sorry for any inconvenience that this caused you. Thank you for your patience and for your continued support.
<br> <br>
<br> <br>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
I am writing to bring to your attention that your latest monthly donation to <%= npo_name %> could not be processed. The payment processor notified us that there was an error with your credit card and declined the transaction. Further details are below. I am writing to bring to your attention that your latest monthly donation to <%= npo_name %> could not be processed. The payment processor notified us that there was an error with your credit card and declined the transaction. Further details are below.
<br> <br>
<br> <br>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<table class='table'> <table class='table'>
<thead> <thead>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: components/forms/_offsite_fields --> <!-- partial: components/forms/_offsite_fields -->
<div class='layout--four'> <div class='layout--four'>
<fieldset> <fieldset>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<span class='simpleTabs-tab'> <span class='simpleTabs-tab'>
<!--= set_attr_if is_signing_up 'is-selected' '' --> <!--= set_attr_if is_signing_up 'is-selected' '' -->
<!--= on 'click' (def 'is_signing_up' true) --> <!--= on 'click' (def 'is_signing_up' true) -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/forms/slug_field --> <!-- partial start components/forms/slug_field -->
<!-- fundraiser is event or campaign or nonprofit --> <!-- fundraiser is event or campaign or nonprofit -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% button_text = 'Save' if button_text.nil? %> <% button_text = 'Save' if button_text.nil? %>
<% loading_text = 'Saving...' if loading_text.nil? %> <% loading_text = 'Saving...' if loading_text.nil? %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: fundaising_pages/_header --> <!-- partial start: fundaising_pages/_header -->
<%# requirements: image_url, is_editor, header_content_partial %> <%# requirements: image_url, is_editor, header_content_partial %>
<% hide_title = hide_title ? true : false %> <% hide_title = hide_title ? true : false %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/media/youtube_iframe --> <!-- partial start: components/media/youtube_iframe -->
<iframe src="https://www.youtube.com/embed/<%=id %>?rel=0&autoplay=0&autohide=1&border=0"></iframe> <iframe src="https://www.youtube.com/embed/<%=id %>?rel=0&autoplay=0&autohide=1&border=0"></iframe>
<!-- partial end: components/media/youtube_iframe --> <!-- partial end: components/media/youtube_iframe -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: components/messages/deleted_campaign_or_event --> <!-- partial start: components/messages/deleted_campaign_or_event -->
<div class='pastelBox--orange u-marginTop--15 u-padding--10'> <div class='pastelBox--orange u-marginTop--15 u-padding--10'>
<!--= show_if <%= type %>_is_deleted --> <!--= show_if <%= type %>_is_deleted -->

View file

@ -1 +1,2 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<small>Custom HTML is allowed, but please note that different email clients can render HTML differently. To avoid any discrepancies, it's best to keep your email layout simple.</small> <small>Custom HTML is allowed, but please note that different email clients can render HTML differently. To avoid any discrepancies, it's best to keep your email layout simple.</small>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial components/tables/search --> <!-- partial components/tables/search -->
<!-- use components/restful_resource.js --> <!-- use components/restful_resource.js -->
<!-- use restful_resource.js to define 'resource_name' with an 'index' function--> <!-- use restful_resource.js to define 'resource_name' with an 'index' function-->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div> <div>
<!-- (show_if (length campaigns.data ))--> <!-- (show_if (length campaigns.data ))-->
<hr class='u-margin--0'> <hr class='u-margin--0'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div> <div>
<!-- (show_if (length events.data ))--> <!-- (show_if (length events.data ))-->
<hr class='u-margin--0'> <hr class='u-margin--0'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<section class='filterPanel-section layout--two' id='dateRange'> <section class='filterPanel-section layout--two' id='dateRange'>
<fieldset> <fieldset>
<label><small>at least</small></label> <label><small>at least</small></label>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<% years = (2000..Time.new.year).to_a.reverse %> <% years = (2000..Time.new.year).to_a.reverse %>
<section class='filterPanel-section'> <section class='filterPanel-section'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<section class='filterPanel-section layout--two' id='dateRange'> <section class='filterPanel-section layout--two' id='dateRange'>
<fieldset> <fieldset>
<label><small>after</small></label> <label><small>after</small></label>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: components/filter_onetime_recurring --> <!-- partial: components/filter_onetime_recurring -->
<form> <form>
<fieldset> <fieldset>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: components/filter_input --> <!-- partial: components/filter_input -->
<% amount ||= false %> <% amount ||= false %>
<% subtitle ||= false %> <% subtitle ||= false %>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/_filter_panel_close --> <!-- partial start components/_filter_panel_close -->
<a class='button--closeFilterPanel' title='Close'> <a class='button--closeFilterPanel' title='Close'>
<!--= on 'click' close_filter_panel --> <!--= on 'click' close_filter_panel -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: components/filter_onetime_recurring --> <!-- partial: components/filter_onetime_recurring -->
<form> <form>
<fieldset class='u-marginBottom--0'> <fieldset class='u-marginBottom--0'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial: components/_filter_supporter_tags --> <!-- partial: components/_filter_supporter_tags -->
<section> <section>
<!--= show_if (length tags.masters.data) --> <!--= show_if (length tags.masters.data) -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial components/tables/filtering/meta_status --> <!-- partial components/tables/filtering/meta_status -->
<small class='filteringBy'> <small class='filteringBy'>

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='wizard-index'> <div class='wizard-index'>
<!--= hide_if <%=wizard_name%>.is_completed --> <!--= hide_if <%=wizard_name%>.is_completed -->

View file

@ -1,3 +1,4 @@
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='container--narrow u-centered top--med'> <div class='container--narrow u-centered top--med'>
<div class='container-shadow'></div> <div class='container-shadow'></div>

Some files were not shown because too many files have changed in this diff Show more