From c74561474c4cff83539420bde57306c1b9a384a7 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 13 Dec 2012 16:30:10 -0800 Subject: Bug 820646 - Project Kickoff Form: New Legal Question to be Added Bug 821183 - Project Kickoff Form: Legal and Finance Bugs Questions Not Filed Bug 820644 - Project Kickoff Form: Legal Questions Should be Displayed When "Yes" Selected for "Separate Party" --- .../comment-moz-project-review-legal.txt.tmpl | 8 +++++ .../bug/create/create-moz-project-review.html.tmpl | 38 +++++++++++++++++++--- 2 files changed, 41 insertions(+), 5 deletions(-) (limited to 'extensions/MozProjectReview/template/en/default') diff --git a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl index 345557743..9f3f98328 100644 --- a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl +++ b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl @@ -18,5 +18,13 @@ Other Party: [% cgi.param('legal_other_party') %] Business Objective: [% cgi.param('legal_business_objective') %] URL: [% cgi.param('legal_url') %] SOW Details: [% cgi.param('legal_sow_details') %] +[% IF cgi.param('legal_vendor_services_where') %] +Vendor Services from Where: +[% IF cgi.param('legal_vendor_services_where') == 'A single country' %] +[%- cgi.param('legal_vendor_single_country') %] +[% ELSE %] +[%- cgi.param('legal_vendor_services_where') %] +[% END %] +[% END %] Description: [%+ cgi.param('legal_description') %] diff --git a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl index db06d0c24..df8966bbb 100644 --- a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl +++ b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl @@ -233,10 +233,15 @@ + onchange="MPR.toggleVisibleById(this, 'Vendor/Services', 'legal_sow_details_row'); + MPR.toggleVisibleById(this, 'Vendor/Services', 'legal_vendor_services_where_row'); + MPR.toggleVisibleById(this, 'Hardware Purchase', 'finance_questions'); + if (this.value == 'Hardware Purchase') Dom.addClass('legal_questions', 'bz_default_hidden'); + else if (Dom.get('separate_party').value == 'Yes' || Dom.get('mozilla_data').value == 'Yes') + Dom.removeClass('legal_questions', 'bz_default_hidden');"> @@ -502,6 +511,25 @@ + +
-- cgit v1.2.3-24-g4f1b