fc77ee76d6
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later The Additional Permission is designed to permit publicly distributed Javascript code to be relicensed under LGPL-3.0-or-later, but not server-side Javascript code. As such, we've relicensed here static Javscript files under LGPL-3.0-or-later, and those that run as part of build and/or server side under AGPL-3.0-or-later. Note that in future, Javascript files may be updated to be stronger copyleft license with the Additional Permission, particularly if they adapted to run on server side and/or turned into templates. Of course, we'd seek public discussion with the contributor community about such changes. 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.
40 lines
1.5 KiB
JavaScript
40 lines
1.5 KiB
JavaScript
// License: LGPL-3.0-or-later
|
|
var tour_subscribers = new Tour({
|
|
backdrop: false,
|
|
steps: [
|
|
{
|
|
orphan: true,
|
|
title: 'Welcome to your recurring payments dashboard!',
|
|
content: "This is where all of your recurring donations will automatically appear. You can also manually add new recurring donations here with a few easy steps."
|
|
},
|
|
{
|
|
element: '.tour-totalRecurring',
|
|
title: 'Monthly total',
|
|
placement: 'bottom',
|
|
content: 'Your recurring donations per month will be totaled here. Even if the donations are quarterly or annual, they will be calculated into this monthly balance.'
|
|
},
|
|
{
|
|
element: '.tour-export',
|
|
placement: 'left',
|
|
title: 'Export',
|
|
content: 'If you need a report of your subscribers, use this Export button. It will download an excel file of all recurring donors.'
|
|
},
|
|
{
|
|
element: '.tour-newSubscriber',
|
|
placement: 'left',
|
|
title: 'New subscriber button',
|
|
content: "To manually create a new custom recurring donation, use this button. You can specify the time interval as biweekly, monthly, quarterly, annual, or anything else. It's very flexible!"
|
|
},
|
|
{
|
|
orphan: true,
|
|
title: 'Get fundraising!',
|
|
content: "Check back to this page to see your monthly total increase. Please contact support@commitchange.com if you have any questions."
|
|
}
|
|
]
|
|
})
|
|
|
|
if($.cookie('tour_subscribers') === String(app.nonprofit_id)) {
|
|
$.removeCookie('tour_subscribers', {path: '/'})
|
|
tour_subscribers.init()
|
|
tour_subscribers.restart()
|
|
}
|