]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1267347 - Editing the Dev-Events Form to be current
authorDan Callahan <dan.callahan@gmail.com>
Mon, 29 Aug 2016 16:26:52 +0000 (12:26 -0400)
committerDylan William Hardison <dylan@hardison.net>
Tue, 20 Sep 2016 13:35:07 +0000 (09:35 -0400)
extensions/BMO/template/en/default/bug/create/comment-dev-engagement-event.txt.tmpl
extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl
extensions/BMO/web/js/dev_engagement.js

index b4e6514c527545d2874334b431d5fe2e2ed509b4..1a4aec7b8453a980ed3046b27fbc8c9bed8716b6 100644 (file)
@@ -80,12 +80,12 @@ Event Description:
 ::
 
 Relevant Products:
-[% "\n* Firefox OS" IF cgi.param('product_fxos') %]
 [% "\n* Firefox Web Browser" IF cgi.param('product_fx') %]
-[% "\n* Webmaker" IF cgi.param('product_webmaker') %]
-[% "\n* Persona" IF cgi.param('product_persona') %]
-[% "\n* Marketplace" IF cgi.param('product_marketplace') %]
-[% "\n* Thunderbird" IF cgi.param('product_tb') %]
+[% "\n* Encryption" IF cgi.param('product_encryption') %]
+[% "\n* Web Assembly/Platform" IF cgi.param('product_web_asm') %]
+[% "\n* Rust" IF cgi.param('product_rust') %]
+[% "\n* Servo" IF cgi.param('product_servo') %]
+[% "\n* webVR" IF cgi.param('product_webvr') %]
 [% "\n* The Free and Open Web" IF cgi.param('product_fow') %]
 [% "\n* Developer Tools" IF cgi.param('product_devtools') %]
 [% "\n* Other: " _ cgi.param('product_other_text') IF cgi.param('product_other') %]
index db680abe639d46c859416e9c133ac9f714398b92..d0d34069bb50b9ace7a768344e98b384d3d31585 100644 (file)
     <a href="https://www.mozilla.org/en-US/products/" target="_blank">
     mozilla.org/products</a> for more information about Mozilla products.
   </div>
-  <input type="checkbox" name="product_fxos" id="product_fxos">
-  <label for="product_fxos">Firefox OS</label><br>
   <input type="checkbox" name="product_fx" id="product_fx">
   <label for="product_fx">Firefox Web Browser</label><br>
-  <input type="checkbox" name="product_webmaker" id="product_webmaker">
-  <label for="product_webmaker">Webmaker</label><br>
-  <input type="checkbox" name="product_persona" id="product_persona">
-  <label for="product_persona">Persona</label><br>
-  <input type="checkbox" name="product_marketplace" id="product_marketplace">
-  <label for="product_marketplace">Marketplace</label><br>
-  <input type="checkbox" name="product_tb" id="product_tb">
-  <label for="product_tb">Thunderbird</label><br>
+
+  <input type="checkbox" name="product_encryption" id="product_encryption">
+  <label for="product_encryption">Encryption</label><br>
+
+  <input type="checkbox" name="product_web_asm" id="product_web_asm">
+  <label for="product_web_asm">Web Assembly/Platform</label><br>
+
+  <input type="checkbox" name="product_rust" id="product_rust">
+  <label for="product_rust">Rust</label><br>
+
+  <input type="checkbox" name="product_servo" id="product_servo">
+  <label for="product_servo">Servo</label><br>
+
+  <input type="checkbox" name="product_webvr" id="product_webvr">
+  <label for="product_webvr">webVR</label><br>
+
   <input type="checkbox" name="product_fow" id="product_fow">
   <label for="product_fow">The Free and Open Web</label><br>
+
   <input type="checkbox" name="product_devtools" id="product_devtools">
   <label for="product_devtools">Developer Tools</label><br>
+
   <input type="checkbox" name="product_other" id="product_other">
   <label for="product_other">Other:</label>
   <input type="text" name="product_other_text" id="product_other_text"
   </div>
   <div class="field_desc">
     Include Sponsorship Amounts and quick summary of benefits.
+    Should be edited to List the tiers of sponsorship amount and benefit that we can review.
   </div>
   <textarea name="sponsorship_suggestion" id="sponsorship_suggestion" rows="10" cols="40" class="wide"></textarea>
 </div>
index ae6551617de07d91ff7da78e6a883f8e540b19fc..f025b4ac798af9edb6f9fee701852a3ca71409af 100644 (file)
@@ -111,12 +111,12 @@ var DE = {
     }
 
     var relevant_products = [
-      'product_fxos',
       'product_fx',
-      'product_webmaker',
-      'product_persona',
-      'product_marketplace',
-      'product_tb',
+      'product_encryption',
+      'product_web_asm',
+      'product_rust',
+      'product_servo',
+      'product_webvr',
       'product_fow',
       'product_devtools',
       'product_other',
@@ -189,18 +189,18 @@ var DE = {
     wb += '[requesting:' + request_items.join(',') + '] ';
 
     var product_items = [];
-    if (document.getElementById('product_fxos').checked)
-      product_items.push('firefox-os');
     if (document.getElementById('product_fx').checked)
       product_items.push('firefox-web-browser');
-    if (document.getElementById('product_webmaker').checked)
-      product_items.push('webmaker');
-    if (document.getElementById('product_persona').checked)
-      product_items.push('persona');
-    if (document.getElementById('product_marketplace').checked)
-      product_items.push('marketplace');
-    if (document.getElementById('product_tb').checked)
-      product_items.push('thunderbird');
+    if (document.getElementById('product_encryption').checked)
+      product_items.push('encryption');
+    if (document.getElementById('product_web_asm').checked)
+      product_items.push('web-assembly-or-platform');
+    if (document.getElementById('product_rust').checked)
+      product_items.push('servo');
+    if (document.getElementById('product_servo').checked)
+      product_items.push('rust');
+    if (document.getElementById('product_webvr').checked)
+      product_items.push('webvr');
     if (document.getElementById('product_fow').checked)
       product_items.push('open-web');
     if (document.getElementById('product_devtools').checked)