houdini/client/js/nonprofits/payments/index/tour.js
Bradley M. Kuhn fc77ee76d6 Relicense Javascript code in accordance with project's new 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

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.
2018-03-25 15:10:40 -04:00

45 lines
1.6 KiB
JavaScript

// License: LGPL-3.0-or-later
require('../../../common/vendor/bootstrap-tour-standalone')
var transactions_tour = new Tour({
backdrop: false,
steps: [
{
orphan: true,
title: 'Welcome to your payments history dashboard!',
content: "This page shows your complete payments history. This includes donations through your website, campaign contributions, tickets for events, and offline checks."
},
{
element: '.tour-filter',
placement: 'right',
title: 'Filtering & searching',
content: "Filter your payments using this panel. You can also use the search bar at the top to search by donor name or email.",
onHide: appl.close_filter_panel,
onShow: appl.open_filter_panel,
},
{
element: '.tour-totalPayments',
placement: 'bottom',
title: 'Pending balance',
content: "This is your organization's pending balance. This amount is held temporarily in escrow until it is withdrawn into your organization's bank account."
},
{
element: '.tour-payouts',
placement: 'bottom',
title: 'Payouts dashboard',
content: "To setup payouts and to see your payout history, you can click on this tab."
},
{
orphan: true,
title: 'Check back!',
content: "As your organization starts to receive donations and contributions and to sell event tickets, check back here to watch your pending balance increase. Please contact support@commitchange.com if you have questions."
}
]
})
if($.cookie('tour_transactions') === String(app.nonprofit_id)) {
$.removeCookie('tour_transactions', {path: '/'})
transactions_tour.init()
transactions_tour.restart()
}