diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-31 19:20:40 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-31 19:20:40 +0100 |
commit | 3aa44a91465b2a4411659e4c403277c28b26f768 (patch) | |
tree | 6edc40950011aaeadd005af18ff24e33f0a0f9ef /extensions/MozProjectReview/template/en/default | |
parent | 64ed5b86b0d108e2a98b9e409614a4503b8db758 (diff) | |
download | bugzilla-3aa44a91465b2a4411659e4c403277c28b26f768.tar.gz bugzilla-3aa44a91465b2a4411659e4c403277c28b26f768.tar.xz |
Bug 832031 - Project Kickoff Form: Add "PO Needed?" when "<=$25, 000" is selected under "Vendor Cost"
Diffstat (limited to 'extensions/MozProjectReview/template/en/default')
2 files changed, 19 insertions, 5 deletions
diff --git a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl index 66ab024fe..6a88aadd8 100644 --- a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl +++ b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl @@ -28,7 +28,7 @@ New or Change: [% cgi.param('new_or_change') %] Mozilla Project: [% cgi.param('mozilla_project') %] Mozilla Related: [% cgi.param('mozilla_related') %] Separate Party: [% cgi.param('separate_party') %] -[% IF cgi.param('separate_part') == 'Yes' %] +[% IF cgi.param('separate_party') == 'Yes' %] Type of Relationship: [% cgi.param('relationship_type') %] Data Access: [% cgi.param('data_access') %] Privacy Policy: [% cgi.param('privacy_policy') %] 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 df8966bbb..2225abf18 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 @@ -300,11 +300,25 @@ <div class="field_description">What is the anticipated cost of the vendor relationship? (Entire Contract Cost, not monthly cost)</div> <select name="vendor_cost" id="vendor_cost" - onchange="MPR.toggleVisibleById(this,'> $25,000','finance_questions');"> + onchange="MPR.toggleVisibleById(this,'> $25,000','finance_questions'); + MPR.toggleVisibleById(this,'<= $25,000','po_needed_row'); + if (Dom.get('po_needed').value == 'Yes') Dom.removeClass('finance_questions','bz_default_hidden');"> <option value="">Select One</option> <option value="N/A">N/A</option> - <option value="<= $25,000"><= $25,000</option> - <option value="> $25,000">> $25,000</option> + <option value="<= $25,000"><= $25,000</option> + <option value="> $25,000">> $25,000</option> + </select> + </span> + </div> + + <div id="po_needed_row" class="field_row bz_default_hidden"> + <span class="field_label required">PO Needed?:</span> + <span class="field_data"> + <select name="po_needed" id="po_needed" + onchange="MPR.toggleVisibleById(this,'Yes','finance_questions');"> + <option value="">Select One</option> + <option value="Yes">Yes</option> + <option value="No">No</option> </select> </span> </div> @@ -591,7 +605,7 @@ </div> <div id="finance_purchase_urgency_row" class="field_row"> - <span class="field_label required">When do the items need to be ordered by?:</span> + <span class="field_label required">When do the items need<br>to be ordered by?:</span> <span class="field_data"> <select name="finance_purchase_urgency" id="finance_purchase_urgency"> <option value="within 24 hours">within 24 hours</option> |