houdini/client/js/events/show/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

35 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// License: LGPL-3.0-or-later
require('../../common/vendor/bootstrap-tour-standalone')
var tour_event = new Tour({
steps: [
{
orphan: true,
title: 'Welcome to your new event!',
content: "Hit 'Next' to find out how you can edit and add content to your event before sharing it."
},
{
element: '.tour-admin',
placement: 'bottom',
title: 'Manage your event',
content: "You can manage your event by clicking on these buttons at the top of the page."
},
{
element: '.froala-box',
placement: 'right',
title: 'Event details & story',
content: "You can add and format text and image content for your event by typing in this box. Adding images, video or even custom code can help enliven your event description. Click the icons at the top for formatting."
},
{
orphan: true,
title: 'Youre on your way!',
content: "Once you've added content and ticket levels, and can start sharing your event."
}
]
})
if($.cookie('tour_event') === String(app.nonprofit_id)) {
$.removeCookie('tour_event', {path: '/'})
tour_event.restart()
}