From 4d5832e6921e80f283494f37ecedbee82bd778fe Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 8 Aug 2016 20:34:05 +0000 Subject: Bug 1290959 - Create custom NDA bug entry form in Legal --- .../en/default/bug/create/comment-nda.txt.tmpl | 34 +++++ .../en/default/bug/create/create-nda.html.tmpl | 160 +++++++++++++++++++++ 2 files changed, 194 insertions(+) create mode 100644 extensions/BMO/template/en/default/bug/create/comment-nda.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/create-nda.html.tmpl (limited to 'extensions/BMO/template/en/default') diff --git a/extensions/BMO/template/en/default/bug/create/comment-nda.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-nda.txt.tmpl new file mode 100644 index 000000000..af10f994f --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-nda.txt.tmpl @@ -0,0 +1,34 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +>> Do we really need to receive confidential information from the other party or +>> provide them with ours at this stage of the relationship? +[%+ cgi.param("nda_needed") %] + +[% IF cgi.param("nda_needed") == "Yes" %] +>> If yes, please explain +[%+ cgi.param("nda_needed_reason") %] + +[% END %] +>> What is the purpose of exchanging confidential information with the other party? +[%+ cgi.param("nda_purpose") %] + +>> What confidential information will Mozilla be sharing? +[%+ cgi.param("mozilla_sharing") %] + +>> What confidential information will the other party be sharing? +[%+ cgi.param("other_sharing") %] + +>> Other party information +Party name: [%+ cgi.param("party_name") %] +Party address: [%+ cgi.param("party_address") %] +Party contact person: [%+ cgi.param("party_contact_name") %] +Party contact email: [%+ cgi.param("party_contact_email") %] diff --git a/extensions/BMO/template/en/default/bug/create/create-nda.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-nda.html.tmpl new file mode 100644 index 000000000..c2e03ac95 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/create-nda.html.tmpl @@ -0,0 +1,160 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Mozilla Corporation. + # Portions created by Mozilla are Copyright (C) 2008 Mozilla + # Corporation. All Rights Reserved. + # + # Contributor(s): Mark Smith + # Reed Loden + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% inline_style = BLOCK %] +#heading { + font-size: 2em; + font-weight: bold; +} +.row { + padding-bottom: 10px; +} +[% END %] + +[% inline_javascript = BLOCK %] +$(function() { + $('#nda_needed').on('change', function() { + if ($('#nda_needed').val() == 'Yes') + $('#nda_needed_reason_row').show(); + else + $('#nda_needed_reason_row').hide(); + }); +}); +[% END %] + +[% PROCESS global/header.html.tmpl + title = "NDA Request Form" + generate_api_token = 1 + style = inline_style + javascript = inline_javascript +%] + +
NDA Request Form
+ +

Note: Do NOT add non-employees to this bug. To maintain attorney-client privilege and confidentiality, + legal bugs are only visible to the reporter, the legal team, and the cc list.

+ +
+ + + + + + + + + + + [% IF user.in_group('canconfirm') %] + + [% END %] + +
+
+ +
+ +
+ + + +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ Other Party Information +
+ + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+
+ + +

+ [ * Required Field ] +

+
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b