blob: 4c1d045769dff4c5549032c8b72d00d396275b89 [file] [log] [blame]
/*!
* Copyright (c) 2021 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
* Zhou Fang <zhou.fang@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
(function ($) {
const option = {
html: true,
placement: 'bottom',
trigger: 'focus',
title: 'PDF form and agreements',
content:
'<ol class="padding-left-20"><li>Complete and sign the <a href="/membership/documents/membership-application-form.pdf">Membership Application Form PDF</a></li><li>Complete and sign the <a href="/org/documents/eclipse_membership_agreement.pdf">Membership Agreement</a></li><li>Complete and sign the <a href="/legal/committer_process/EclipseMemberCommitterAgreement.pdf">Member Committer and Contributor Agreement</a> (optional, but recommended)</li><li><a href="mailto:membership@eclipse.org">Email us</a> the signed documents, including the Membership Application Form, the Membership Agreement, and optionally, the Member Committer and Contributor Agreement.</li></ol>',
};
$('.membership-info-popover')
.click(function (event) {
event.preventDefault();
})
.popover(option)
.on('show.bs.popover', function () {
$(this).data('bs.popover').tip().css('max-width', '450px');
});
})(jQuery);