]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
bug/create/create-guided: Delete hard-coded Mozilla products (#75)
authorVladimir Panteleev <CyberShadow@users.noreply.github.com>
Mon, 15 Mar 2021 14:33:58 +0000 (14:33 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 14:33:58 +0000 (15:33 +0100)
template/en/default/bug/create/create-guided.html.tmpl

index ffe8a5b8babe589e20168c7514b4797eae619aef..b22e98db2ff18cbb6a225709571e11939b83b24d 100644 (file)
@@ -68,18 +68,9 @@ function PutDescription() {
     Check the two lists of frequently-reported [% terms.bugs %]:
 </p>
 
-[%# Include other products if sensible %]
-[% IF product.name == "Firefox" %]
-  [% productstring = "product=Toolkit&amp;product=Core&amp;product=Firefox" %]
-[% ELSIF product.name == "Thunderbird" %]
-  [% productstring = "product=MailNews%20Core&amp;product=Thunderbird" %]
-[% ELSE %]
-  [% productstring = BLOCK %]product=[% product.name FILTER uri %][% END %]
-[% END %]
-
 <p>
-    <a href="[% basepath FILTER none %]duplicates.cgi?[% productstring %]&amp;format=simple" target="somebugs">All-time Top 20</a> (loaded initially) |
-    <a href="[% basepath FILTER none %]duplicates.cgi?[% productstring %]&amp;format=simple&amp;sortby=delta&amp;reverse=1&amp;maxrows=100&amp;changedsince=14" target="somebugs">Hot in the last two weeks</a>
+    <a href="[% basepath FILTER none %]duplicates.cgi?product=[% product.name FILTER uri %]&amp;format=simple" target="somebugs">All-time Top 20</a> (loaded initially) |
+    <a href="[% basepath FILTER none %]duplicates.cgi?product=[% product.name FILTER uri %]&amp;format=simple&amp;sortby=delta&amp;reverse=1&amp;maxrows=100&amp;changedsince=14" target="somebugs">Hot in the last two weeks</a>
 </p>
 
 <iframe name="somebugs" id="somebugs"
@@ -100,16 +91,6 @@ function PutDescription() {
     <input type="hidden" name="order" value="relevance desc">
     <input type="hidden" name="bug_status" value="__all__">
     <input type="hidden" name="product" value="[% product.name FILTER html %]">
-    [% IF product.name == "Firefox" OR
-          product.name == "Thunderbird" OR
-          product.name == "SeaMonkey" OR
-          product.name == "Camino" %]
-      <input type="hidden" name="product" value="Core">
-      <input type="hidden" name="product" value="Toolkit">
-      <input type="hidden" name="product" value="NSPR">
-      <input type="hidden" name="product" value="NSS">
-      <input type="hidden" name="product" value="MailNews Core">
-    [% END %]
     <input type="hidden" name="chfieldfrom" value="-6m">
     <input type="hidden" name="chfieldto" value="Now">
     <input type="hidden" name="chfield" value="[Bug creation]">