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.
25 lines
774 B
JavaScript
25 lines
774 B
JavaScript
// License: LGPL-3.0-or-later
|
|
require('../../common/vendor/bootstrap-tour-standalone')
|
|
|
|
var profile_tour = new Tour({
|
|
backdrop: false,
|
|
steps: [
|
|
{
|
|
orphan: true,
|
|
title: 'Welcome to your nonprofit profile!',
|
|
content: "This is a public page where people can donate, create peer-to-peer campaigns and find out about your organization. The more you fill out this page, the richer your donors' experiences will be.",
|
|
},
|
|
{
|
|
element: '.tour-admin',
|
|
placement: 'bottom',
|
|
title: 'Manage your profile',
|
|
content: "You can manage your profile by clicking on these buttons at the top of the page."
|
|
}
|
|
]
|
|
})
|
|
|
|
if($.cookie('tour_profile') === String(app.nonprofit_id)) {
|
|
$.removeCookie('tour_profile', {path: '/'})
|
|
profile_tour.init()
|
|
profile_tour.restart()
|
|
}
|