diff options
author | gerv%gerv.net <> | 2006-11-13 20:39:54 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2006-11-13 20:39:54 +0100 |
commit | f1c83b410cd23c14e74a4a43f64632c050008dd7 (patch) | |
tree | 1a8f6f31fe76adf3b87ca55b4915cb8c9c7f6d93 /template/en/default | |
parent | 27c88f310adb10c9e8e7da30d0065c62ccb3ca02 (diff) | |
download | bugzilla-f1c83b410cd23c14e74a4a43f64632c050008dd7.tar.gz bugzilla-f1c83b410cd23c14e74a4a43f64632c050008dd7.tar.xz |
Bug 308950 - add build ID parameter to guided page for non-browser products. Patch by gerv; r=justdave.
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/create/create-guided.html.tmpl | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 5b27aa173..1d0683157 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -269,24 +269,29 @@ function PutDescription() { </td> </tr> - [% matches = cgi.user_agent('Gecko/(\d+)') %] - [% buildid = cgi.user_agent() IF matches %] + [% IF product.match("Firefox|Camino|Mozilla Application Suite") %] + [% matches = cgi.user_agent('Gecko/(\d+)') %] + [% buildid = cgi.user_agent() IF matches %] + [% END %] + + [%# Accept URL parameter build ID for non-browser products %] + [% IF cgi.param("buildid") %] + [% buildid = cgi.param("buildid") %] + [% END %] <tr bgcolor="[% tablecolour %]"> <td align="right" valign="top"> - <b>Build Identifier<br>(User Agent)</b> + <b>Build Identifier</b> </td> <td valign="top"> <input type="text" size="80" name="buildid" value="[% buildid %]"> <p> - This identifies exactly the version of the product you were using. - If reporting [% terms.abug %] in Mozilla or Firefox, - this is the line beginning <tt>"Mozilla/5.0"</tt> in - <tt>Help | About</tt>. - If you are using the problematic software to file the bug, this - field will already be filled in correctly. - If the product won't start, just enter the complete URL you - downloaded it from. + This should identify the exact version of the product you were using. + If the above field is blank or you know it is incorrect, copy the + version text from the product's Help | + About menu (for browsers this will begin with "Mozilla/5.0..."). + If the product won't start, instead paste the complete URL you downloaded + it from. </p> </td> </tr> @@ -298,11 +303,10 @@ function PutDescription() { <td valign="top"> <input type="text" size="80" name="bug_file_loc" value="http://"> <p> - URL that demonstrates the problem you are seeing (optional.) - <!-- - <b>IMPORTANT</b>: problems with broken web pages go - <a href="http://write-this-webtool/">in this form instead</a>. - --> + URL that demonstrates the problem you are seeing (optional).<br> + <b>IMPORTANT</b>: if the problem is with a broken web page, you need + to report it + <a href="https://bugzilla.mozilla.org/page.cgi?id=broken-website.html">a different way</a>. </p> </td> </tr> |