summaryrefslogtreecommitdiffstats
path: root/extensions/MozProjectReview/template/en/default
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-01-31 19:20:40 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-31 19:20:40 +0100
commit3aa44a91465b2a4411659e4c403277c28b26f768 (patch)
tree6edc40950011aaeadd005af18ff24e33f0a0f9ef /extensions/MozProjectReview/template/en/default
parent64ed5b86b0d108e2a98b9e409614a4503b8db758 (diff)
downloadbugzilla-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')
-rw-r--r--extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl2
-rw-r--r--extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl22
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="&lt= $25,000">&lt;= $25,000</option>
- <option value="&gt $25,000">&gt; $25,000</option>
+ <option value="&lt;= $25,000">&lt;= $25,000</option>
+ <option value="&gt; $25,000">&gt; $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>