summaryrefslogtreecommitdiffstats
path: root/extensions/MozProjectReview/template
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-12-04 17:20:54 +0100
committerByron Jones <bjones@mozilla.com>2012-12-04 17:20:54 +0100
commitb061ce481380dfd01f85ea84ef700eb7589433e3 (patch)
treee4d2129bca00e4177920b4072507552481334a50 /extensions/MozProjectReview/template
parent658988096fae00807553645adc1e1976b2586471 (diff)
downloadbugzilla-b061ce481380dfd01f85ea84ef700eb7589433e3.tar.gz
bugzilla-b061ce481380dfd01f85ea84ef700eb7589433e3.tar.xz
Bug 817157: Project Kickoff Form: Change "Current Goal" to drop down list
Diffstat (limited to 'extensions/MozProjectReview/template')
-rw-r--r--extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review.txt.tmpl4
-rw-r--r--extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl31
2 files changed, 30 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 16bdcb568..66ab024fe 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
@@ -18,7 +18,9 @@ Description:
Additional Information:
[%+ cgi.param('additional') %]
Urgency: [% cgi.param('urgency') %]
-Current Goal: [% cgi.param('goal') %]
+Key Initiative: [% cgi.param('key_initiative') == 'Other'
+ ? cgi.param('key_initiative_other')
+ : cgi.param('key_initiative') %]
Release Date: [% cgi.param('release_date') %]
Project Status: [% cgi.param('project_status') %]
Mozilla Data: [% cgi.param('mozilla_data') %]
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 2db1f225f..a84bbe743 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
@@ -104,11 +104,34 @@
</span>
</div>
- <div id="goal_row" class="field_row">
- <span class="field_label">Current Goal:</span>
+ <div id="key_initiative_row" class="field_row">
+ <span class="field_label required">Key Initiative:</span>
<span class="field_data">
- <div class="field_description">Does it support a current Mozilla goal (if so, which one)?</div>
- <input type="text" name="goal" id="goal" size="60">
+ <div class="field_description">Which key initiative does this support?</div>
+ <select name="key_initiative" id="key_initiative"
+ onchange="MPR.toggleVisibleById(this,'Other','key_initiative_other_row');">
+ <option value="">Select One</option>
+ <option value="Firefox Desktop">Firefox Desktop</option>
+ <option value="Firefox Mobile">Firefox Mobile</option>
+ <option value="Firefox OS">Firefox OS</option>
+ <option value="Firefox Platform">Firefox Platform</option>
+ <option value="Marketplace / Apps">Marketplace / Apps</option>
+ <option value="Services: Persona">Services: Persona</option>
+ <option value="Services: WebRTC">Services: WebRTC</option>
+ <option value="Services: UP">Services: UP</option>
+ <option value="Services: Social API">Services: Social API</option>
+ <option value="Labs / Research / H3">Labs / Research / H3</option>
+ <option value="Product Support">Product Support</option>
+ <option value="Corp Support">Corp Support</option>
+ <option value="Other">Other</option>
+ </select>
+ </span>
+ </div>
+
+ <div id="key_initiative_other_row" class="field_row bz_default_hidden">
+ <span class="field_label">&nbsp;</span>
+ <span class="field_data">
+ <input type="text" name="key_initiative_other" id="key_initiative_other" size="60">
</span>
</div>