/[web]/templates/bugzilla/trunk/bug/create/create-guided.html.tmpl
ViewVC logotype

Diff of /templates/bugzilla/trunk/bug/create/create-guided.html.tmpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 144 by dmorgan, Fri Nov 26 14:56:29 2010 UTC revision 145 by dmorgan, Fri Jan 7 21:07:48 2011 UTC
# Line 34  Line 34 
34     style = "#somebugs { width: 100%; height: 500px }"     style = "#somebugs { width: 100%; height: 500px }"
35   %]   %]
36    
37  <p>  [% tablecolour = "#efefef" %]
   <font color="red">  
     This is a template used on mozilla.org.  This template, and the  
     comment-guided.txt.tmpl template that formats the data submitted via  
     the form in this template, are included as a demo of what it's  
     possible to do with custom templates in general, and custom [% terms.bug %]  
     entry templates in particular. As much of the text will not apply,  
     you should alter it  
     if you want to use this form on your [% terms.Bugzilla %] installation.  
   </font>  
 </p>  
   
 [% tablecolour = "#FFFFCC" %]  
38    
39  [%# This script displays the descriptions for selected components. %]  [%# This script displays the descriptions for selected components. %]
40  <script type="text/javascript">  <script type="text/javascript">
41    <!--
42  var descriptions = [  var descriptions = [
43  [% FOREACH c = product.components %]  [% FOREACH c = product.components %]
44    '[% c.description FILTER js %]',    '[% c.description FILTER js %]',
# Line 65  function PutDescription() { Line 54  function PutDescription() {
54          }          }
55      }      }
56  }  }
 </script>  
57    
58  <a name="step1"></a>  var initialowners = new Array([% product.components.size %]);
59  <h3>Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>  var last_initialowner;
60    var initialccs = new Array([% product.components.size %]);
61  <p>  var components = new Array([% product.components.size %]);
62    <font color="red">Please don't skip this step - half of all  var flags = new Array([% product.components.size %]);
63    [% terms.bugs %] filed are  [% IF Param("useqacontact") %]
64    reported already.</font>      var initialqacontacts = new Array([% product.components.size %]);
65      Check the two lists of frequently-reported [% terms.bugs %]:      var last_initialqacontact;
66  </p>  [% END %]
67    [% count = 0 %]
68    [%- FOREACH c = product.components %]
69        components[[% count %]] = "[% c.name FILTER js %]";
70        initialowners[[% count %]] = "[% c.default_assignee.login FILTER js %]";
71        [% flag_list = [] %]
72        [% FOREACH f = c.flag_types.bug %]
73          [% NEXT UNLESS f.is_active %]
74          [% flag_list.push(f.id) %]
75        [% END %]
76        [% FOREACH f = c.flag_types.attachment %]
77          [% NEXT UNLESS f.is_active %]
78          [% flag_list.push(f.id) %]
79        [% END %]
80        flags[[% count %]] = [[% flag_list.join(",") FILTER js %]];
81        [% IF Param("useqacontact") %]
82            initialqacontacts[[% count %]] = "[% c.default_qa_contact.login FILTER js %]";
83        [% END %]
84    
85        [% SET initial_cc_list = [] %]
86        [% FOREACH cc_user = c.initial_cc %]
87          [% initial_cc_list.push(cc_user.login) %]
88        [% END %]
89        initialccs[[% count %]] = "[% initial_cc_list.join(', ') FILTER js %]";
90    
91        [% count = count + 1 %]
92    [%- END %]
93    
94    function set_assign_to() {
95        // Based on the selected component, fill the "Assign To:" field
96        // with the default component owner, and the "QA Contact:" field
97        // with the default QA Contact. It also selectively enables flags.
98        var form = document.Create;
99        var assigned_to = form.assigned_to.value;
100    
101  [%# Include other products if sensible %]  [% IF Param("useqacontact") %]
102  [% IF product.name == "Firefox" %]      var qa_contact = form.qa_contact.value;
   [% productstring = "product=Mozilla%20Application%20Suite&amp;product=Firefox" %]  
 [% ELSIF product.name == "Thunderbird" %]  
   [% productstring = "product=Mozilla%20Application%20Suite&amp;product=Thunderbird" %]  
 [% ELSE %]  
   [% productstring = BLOCK %]product=[% product.name FILTER url_quote %][% END %]  
103  [% END %]  [% END %]
104    
105  <p>      var index = -1;
106      <a href="duplicates.cgi?[% productstring %]&amp;format=simple" target="somebugs">All-time Top 100</a> (loaded initially) |      if (form.component.type == 'select-one') {
107      <a href="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>            index = form.component.selectedIndex;
108  </p>      } else if (form.component.type == 'hidden') {
109            // Assume there is only one component in the list
110            index = 0;
111        }
112        if (index != -1) {
113            var owner = initialowners[index];
114            var component = components[index];
115            if (assigned_to == last_initialowner
116                || assigned_to == owner
117                || assigned_to == '') {
118                form.assigned_to.value = owner;
119                last_initialowner = owner;
120            }
121    
122  <iframe name="somebugs" id="somebugs"          document.getElementById('initial_cc').innerHTML = initialccs[index];
   style="border: 2px black solid"  
   src="duplicates.cgi?[% productstring %]&amp;format=simple">  
 </iframe>  
123    
124  <p>          [% IF Param("useqacontact") %]
125      If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering              var contact = initialqacontacts[index];
126      a few key words having to do with your [% terms.bug %] in this box.              if (qa_contact == last_initialqacontact
127      For example: <tt><b>pop3 mail</b></tt> or <tt><b>copy paste</b></tt>.                  || qa_contact == contact
128      The results will appear above.                  || qa_contact == '') {
129    </p>                    form.qa_contact.value = contact;
130                      last_initialqacontact = contact;
131  [%# All bugs opened inside the past six months %]              }
132    <form action="buglist.cgi" method="get" target="somebugs">          [% END %]
133      <input type="hidden" name="format" value="simple">  
134      <input type="hidden" name="order" value="relevance desc">          // First, we disable all flags. Then we re-enable those
135      <input type="hidden" name="bug_status" value="__all__">          // which are available for the selected component.
136      <input type="hidden" name="product" value="[% product.name FILTER html %]">          var inputElements = document.getElementsByTagName("select");
137      [% IF product.name == "Firefox" OR          var inputElement, flagField;
138            product.name == "Thunderbird" OR          for ( var i=0 ; i<inputElements.length ; i++ ) {
139            product.name == "Mozilla Application Suite" OR              inputElement = inputElements.item(i);
140            product.name == "Camino" %]              if (inputElement.name.search(/^flag_type-(\d+)$/) != -1) {
141        <input type="hidden" name="product" value="Core">                  var id = inputElement.name.replace(/^flag_type-(\d+)$/, "$1");
142        <input type="hidden" name="product" value="Toolkit">                  inputElement.disabled = true;
143        <input type="hidden" name="product" value="PSM">                  // Also disable the requestee field, if it exists.
144        <input type="hidden" name="product" value="NSPR">                  inputElement = document.getElementById("requestee_type-" + id);
145        <input type="hidden" name="product" value="NSS">                  if (inputElement) inputElement.disabled = true;
146      [% END %]                    }
147      <input type="hidden" name="chfieldfrom" value="-6m">          }
148      <input type="hidden" name="chfieldto" value="Now">          // Now enable flags available for the selected component.
149      <input type="hidden" name="chfield" value="[Bug creation]">          for (var i = 0; i < flags[index].length; i++) {
150      <input type="text" name="content" size="40">              flagField = document.getElementById("flag_type-" + flags[index][i]);
151      <input type="submit" id="search" value="Search">              // Do not enable flags the user cannot set nor request.
152    </form>              if (flagField && flagField.options.length > 1) {
153                    flagField.disabled = false;
154                    // Re-enabling the requestee field depends on the status
155                    // of the flag.
156                    toggleRequesteeField(flagField, 1);
157                }
158            }
159        }
160        PutDescription();
161    }
162    
163  <p>  function handleWantsAttachment(wants_attachment) {
164    Look through the search results. If you get the      if (wants_attachment) {
165    <tt><b>[% terms.zeroSearchResults %]</b></tt> message, [% terms.Bugzilla %]          document.getElementById('attachment_false').style.display = 'none';
166    found no [% terms.bugs %] that          document.getElementById('attachment_true').style.display = 'block';
167    match. Check for typing mistakes, or try fewer or different keywords.      }
168    If you find [% terms.abug %] that looks the same as yours, please add      else {
169    any useful extra information you have to it, rather than opening a new one.          document.getElementById('attachment_false').style.display = 'block';
170  </p>          document.getElementById('attachment_true').style.display = 'none';
171            clearAttachmentFields();
172        }
173    }
174    
175    // this is courtesy of John Keller
176    
177  <a name="step2"></a>  var LOOKUP_ADDR = "/lookup.php?pkg=";
178  <h3>Step 2 of 3 - give information</h3>  var ASSIGNEE_OBJ_NAME = "assigned_to";
179    var NOT_FOUND = "NOT_FOUND";
180    
181    var http_connection = null;
182    
183    // init XMLHttpRequest object, based on browser type
184    function initHttpConnection() {
185            http_connection = null;
186    
187            try {
188                    // Firefox, Opera 8.0+, Safari
189                    http_connection = new XMLHttpRequest();
190            } catch (e) {
191                    // Internet Explorer
192                    try {
193                            http_connection = new ActiveXObject("Msxml2.XMLHTTP");
194                    } catch (e) {
195                            try {
196                                    http_connection = new ActiveXObject("Microsoft.XMLHTTP");
197                            } catch (e) {
198                                    // browser does not support AJAX
199                            }
200                    }
201            }
202    
203            if (http_connection != null) {
204                    http_connection.onreadystatechange = onLoadMaintainer;
205            }
206    }
207    
208    // handler for data received
209    // text field to set should be similar to
210    // <input name="assigned_to" id="assigned_to" />
211    function onLoadMaintainer() {
212            var field_obj;
213    
214            if ((http_connection.readyState == 4) && (http_connection.status == 200)) {
215                    if ((http_connection.responseText != null) && (http_connection.responseText != NOT_FOUND)) {
216                            if ((field_obj = document.getElementById(ASSIGNEE_OBJ_NAME)) != null) {
217                                    field_obj.value = http_connection.responseText;
218                            }
219                    }
220            } else {
221                    // by default, we'll leave form value alone and don't do anything else
222                    // this is a good place to set a default or show an error, though
223            }
224    }
225    
226    // handler for when user enters a package
227    // text field to set should be similar to
228    // <input name="cf_rpmpkg" onchange="onChangePackage(this)" />
229    function onChangePackage(input_obj) {
230            initHttpConnection();
231    
232            if ((http_connection != null) && (input_obj.value != "")) {
233                    http_connection.open("GET", LOOKUP_ADDR + encodeURIComponent(input_obj.value));
234                    http_connection.send(null);
235            }
236    };
237    
238    
239    -->
240    </script>
241    
242    <p>&nbsp;&nbsp;&nbsp;Submit a bug using the <a href="enter_bug.cgi?product=[% product.name FILTER html %]">expert bug form</a>.</p>
243    
 <p>  
   If you've tried a few searches and your [% terms.bug %] really isn't in  
   there, tell us all about it.  
 </p>  
244    
245  <form method="post" action="post_bug.cgi">  <form method="post" action="post_bug.cgi">
246    <input type="hidden" name="format" value="guided">    <input type="hidden" name="format" value="guided">
247    <input type="hidden" name="assigned_to" value="">    <input type="hidden" name="assigned_to" value="">
248    <input type="hidden" name="priority"    <input type="hidden" name="priority"
249           value="[% default.priority FILTER html %]">           value="[% default.priority FILTER html %]">
   <input type="hidden" name="version"  
          value="[% default.version FILTER html %]">  
250    <input type="hidden" name="token" value="[% token FILTER html %]">    <input type="hidden" name="token" value="[% token FILTER html %]">
251      <input type="hidden" name="op_sys" value="Linux">
252    
253  <table valign="top" cellpadding="5" cellspacing="5" border="0">  <table valign="top" cellpadding="5" cellspacing="5" border="0">
254    
255    <tr bgcolor="[% tablecolour %]">    <tr>
256      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]" width="10%">
257        <b>Product</b>        <b>Product:</b>
258      </td>      </td>
259      <td valign="top">      <td valign="top">
260        <input type="hidden" name="product" value="[% product.name FILTER html %]">        <input type="hidden" name="product" value="[% product.name FILTER html %]">
261        [% product.name FILTER html %]        <b>[% product.name FILTER html %]</b>
262      </td>      </td>
263    </tr>    </tr>
264    
265    <tr>    <tr>
266      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]">
267        <b>Component</b>        <b>Component:</b>
268      </td>      </td>
269      <td valign="top">      <td valign="top">
270        <table border="0" cellpadding="0" cellspacing="0">        <table border="0" cellpadding="0" cellspacing="0">
271          <tr>          <tr>
272            <td valign="top">            <td valign="top">
273              <select name="component" id="component"              <select name="component" id="component"
274                      size="5" onchange="PutDescription()">                      size="5" onchange="PutDescription();">
275                [% IF NOT default.component_ %]                [% IF NOT default.component_ %]
276                  [%# Various b.m.o. products have a "General" component,                  [%# Various b.m.o. products have a "General" component,
277                      which is a useful default. %]                      which is a useful default. %]
# Line 201  function PutDescription() { Line 298  function PutDescription() {
298            </td>            </td>
299          </tr>          </tr>
300        </table>        </table>
301          <p style="font-size: 85%;">Core packages are those packages found in the main and contrib repositories, and Other
302          packages are those found in non-free and commercial repositories; if you're unsure, choose Core.</p>
303                
304        <p>        <p>
305          The area where the problem occurs.          The area where the problem occurs.
# Line 213  function PutDescription() { Line 312  function PutDescription() {
312      </td>      </td>
313    </tr>    </tr>
314    
315    [%# We override rep_platform and op_sys for simplicity. The values chosen    <tr>
316        are based on which are most common in the b.m.o database %]      <td align="right" valign="top" bgcolor="[% tablecolour %]">
317    [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]        <b>Version:</b>
   
   <tr bgcolor="[% tablecolour %]">  
     <td align="right" valign="top">  
       <b>Hardware Platform</b>  
318      </td>      </td>
319      <td valign="top">      <td valign="top">
320        [% PROCESS select sel = 'rep_platform' %]        <select name="version" size="5">
321            [%- FOREACH v = version %]
322            <option value="[% v FILTER html %]"
323            [% " selected=\"selected\"" IF v == default.version %]>[% v FILTER html %]
324            </option>
325            [% END %]
326          </select>
327      </td>      </td>
328    </tr>    </tr>
329    
330    [% op_sys = [ "Windows 2000", "Windows XP", "Windows Vista", "Windows 7",    [%# We override rep_platform and op_sys for simplicity. The values chosen
331                  "Mac OS X", "Linux", "All", "Other" ] %]        are based on which are most common in the b.m.o database %]
332      [% rep_platform = [ "All", "i586", "x86_64" ] %]
333    
334    <tr>    <tr>
335      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]">
336        <b>Operating System</b>        <b>Hardware Platform:</b>
337      </td>      </td>
338      <td valign="top">      <td valign="top">
339        [% PROCESS select sel = 'op_sys' %]        [% PROCESS select sel = 'rep_platform' %]
340      </td>      </td>
341    </tr>    </tr>
342    
343    [% IF product.name.match("Firefox|Camino|Mozilla Application Suite") %]    <tr>
344      [% matches = cgi.user_agent('Gecko/(\d+)') %]      <td align="right" valign="top" bgcolor="[% tablecolour %]">
345      [% buildid = cgi.user_agent() IF matches %]        <b>Source RPM:</b>
   [% 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</b>  
346      </td>      </td>
347      <td valign="top">      <td valign="top">
348        <input type="text" size="80" name="buildid" value="[% buildid FILTER html %]">        <input type="text" size="80" name="cf_rpmpkg" value="" onchange="onChangePackage(this)">
349        <p>        <p>
350          This should identify the exact version of the product you were using.          This is where you can identify exactly which RPM package is involved in this bug report. For instance,
351          If the above field is blank or you know it is incorrect, copy the        if you know the problem you are having is with the program <tt>mysqld</tt>, then execute
352          version text from the product's Help |        <tt>rpm -qif /usr/sbin/mysqld</tt>. This will tell you the name and version of the RPM
353          About menu (for browsers this will begin with "Mozilla/5.0...").          package (i.e. MySQL-5.0.27-1mga1) as well as other information. In particular, you are looking for
354          If the product won't start, instead paste the complete URL you downloaded        the "Source RPM" field (i.e. MySQL-5.0.27-1mga1.src.rpm) -- this is the information you should
355          it from.        provide here. Alternatively, you may use <tt>rpm -qf /usr/sbin/mysqld --qf '%{SOURCERPM}\n'</tt> to
356          obtain the information. If you do not know the location of the program in question, use <tt>rpm -qf `which mysqld`</tt>
357          to obtain it. Please enter that information above.  
358        </p>        </p>
359      </td>      </td>
360    </tr>    </tr>
361    
362    <tr>    <tr>
363      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]">
364        <b>URL</b>        <b>URL:</b>
365      </td>      </td>
366      <td valign="top">      <td valign="top">
367        <input type="text" size="80" name="bug_file_loc" value="http://">        <input type="text" size="80" name="bug_file_loc" value="http://">
368        <p>        <p>
369          URL that demonstrates the problem you are seeing (optional).<br>          URL that demonstrates the problem you are submitting (optional).
         <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>.  
370        </p>        </p>
371     </td>     </td>
372    </tr>    </tr>
373    
374    <tr bgcolor="[% tablecolour %]">    <tr>
375      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]">
376        <b>Summary</b>        <b>Summary:</b>
377      </td>      </td>
378      <td valign="top">      <td valign="top">
379        <input type="text" size="80" name="short_desc" id="short_desc"        <input type="text" size="80" name="short_desc" id="short_desc"
380               maxlength="255" spellcheck="true">               maxlength="255" spellcheck="true">
381        <p>        <p>
382          A sentence which summarises the problem.          A sentence that summarizes the problem.
383          Please be descriptive and use lots of keywords.          Please be descriptive and use lots of keywords.
384        </p>        </p>
385        <p>        <p>
# Line 298  function PutDescription() { Line 389  function PutDescription() {
389          <br>          <br>
390          <tt>          <tt>
391            <font color="#009900">Good example</font>:            <font color="#009900">Good example</font>:
392            crash if I close the mail window while checking for new POP mail            crash in Evolution while checking for new POP mail
393          </tt>          </tt>
394        </p>        </p>
395      </td>      </td>
396    </tr>    </tr>
397    
398    <tr>    <tr>
399      <td align="right" valign="top">      <td align="right" valign="top" bgcolor="[% tablecolour %]">
400        <b>Details</b>        <b>Details:</b>
401      </td>      </td>
402      <td valign="top">      <td valign="top">
403        [% INCLUDE global/textarea.html.tmpl        [% INCLUDE global/textarea.html.tmpl
404          name    = 'comment'          name    = 'comment'
405          minrows = 6          minrows = 10
406            maxrows = 25
407          cols    = constants.COMMENT_COLS          cols    = constants.COMMENT_COLS
408            defaultcontent = "Description of problem:\n\n\nVersion-Release number of selected component (if applicable):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n"
409        %]        %]
410          [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
411            <br />&nbsp;&nbsp;
412            <input type="checkbox" id="commentprivacy" name="commentprivacy"
413            [% " checked=\"checked\"" IF commentprivacy %]>
414            <label for="commentprivacy">
415            Initial Description is Private
416            </label>
417          [% END %]
418    
419        <p>        <p>
420          Expand on the Summary. Please be          Expand on the Summary. Please be
421          as specific as possible about what is wrong.          as specific as possible about what is wrong.
422        </p>        </p>
423        <p>        <p>
424          <tt>          <tt>
425            <font color="#990000">Bad example</font>: Mozilla crashed.            <font color="#990000">Bad example</font>: I can't seem to login to the system.  Please help!
           You suck!  
426          </tt>          </tt>
427          <br>          <br>
428          <tt>          <tt>
429            <font color="#009900">Good example</font>: After a crash which            <font color="#009900">Good example</font>:<br /><br />
430            happened when I was sorting in the Bookmark Manager,<br> all of my            Description of problem:<br /><br />
431            top-level bookmark folders beginning with the letters Q to Z are            I'm unable to login to the system via ssh.  The /var/log/messages
432            no longer present.            log indicates there is a problem with the pam module pam_ldap, but the /etc/pam.d/system-auth file doesn't
433              contain that module and I'm not using LDAP.  I looked at /etc/pam.d/sshd and it does contain that module but I'm
434              not sure how it got there, unless it was due to the super-spiffy super-ldap-mojo package I installed yesterday. <br /><br />
435              Version-Release number of selected component (if applicable):<br /><br />
436              openldap-2.3.34-5mga1, pam-0.99.7.1-2mga1<br /><br />
437              How reproducible:<br /><br />
438              Every time I attempt to login.<br /><br />
439              Steps to Reproduce:<br />
440              1. ssh user@host<br />
441              2. see the rejection<br />
442          </tt>          </tt>
443        </p>        </p>
444      </td>      </td>
445    </tr>    </tr>
446    
   <tr bgcolor="[% tablecolour %]">  
     <td align="right" valign="top">  
       <b>Reproducibility</b>  
     </td>  
     <td valign="top">  
       <select name="reproducible">  
         <option name="AlwaysReproducible" value="Always">  
           Happens every time.  
         </option>  
         <option name="Sometimes" value="Sometimes">  
           Happens sometimes, but not always.  
         </option>  
         <option name="DidntTry" value="Didn't try">  
           Haven't tried to reproduce it.  
         </option>  
         <option name="NotReproducible" value="Couldn't Reproduce">  
           Tried, but couldn't reproduce it.  
         </option>  
       </select>  
     </td>  
   </tr>  
   
   <tr>  
     <td align="right" valign="top">  
       <b>Steps to Reproduce</b>  
     </td>  
     <td valign="top">  
       [% INCLUDE global/textarea.html.tmpl  
         name           = 'reproduce_steps'  
         minrows        = 4  
         cols           = constants.COMMENT_COLS  
         defaultcontent = "1.\n2.\n3."  
       %]  
       <p>  
         Describe how to reproduce the problem, step by  
         step. Include any special setup steps.  
       </p>  
     </td>  
   </tr>  
   
   <tr bgcolor="[% tablecolour %]">  
     <td valign="top" align="right">  
       <b>Actual Results</b>  
     </td>  
     <td valign="top">  
       [% INCLUDE global/textarea.html.tmpl  
         name    = 'actual_results'  
         minrows = 4  
         cols    = constants.COMMENT_COLS  
       %]  
       <p>  
         What happened after you performed the steps above?  
       </p>  
     </td>  
   </tr>  
   
447    <tr>    <tr>
448      <td valign="top" align="right">      <td valign="top" align="right" bgcolor="[% tablecolour %]">
449        <b>Expected Results</b>        <b>Severity:</b>
     </td>  
     <td valign="top">  
       [% INCLUDE global/textarea.html.tmpl  
         name    = 'expected_results'  
         minrows = 4  
         cols    = constants.COMMENT_COLS  
       %]  
       <p>  
         What should the software have done instead?  
       </p>  
     </td>  
   </tr>  
   
   <tr bgcolor="[% tablecolour %]">  
     <td valign="top" align="right">  
       <b>Additional Information</b>  
     </td>  
     <td valign="top">  
       [% INCLUDE global/textarea.html.tmpl  
         name    = 'additional_info'  
         minrows = 8  
         cols    = constants.COMMENT_COLS  
       %]  
       <p>  
         Add any additional information you feel may be  
         relevant to this [% terms.bug %], such as the <b>theme</b> you were  
         using (does the [% terms.bug %] still occur  
         with the default theme?), a  
         <b><a href="http://kb.mozillazine.org/Quality_Feedback_Agent">Talkback crash ID</a></b>, or special  
         information about <b>your computer's configuration</b>. Any information  
         longer than a few lines, such as a <b>stack trace</b> or <b>HTML  
         testcase</b>, should be added  
         using the "Add an Attachment" link on the [% terms.bug %], after  
         it is filed. If you believe that it's relevant, please also include  
         your build configuration, obtained by typing <tt>about:buildconfig</tt>  
         into your URL bar.  
         <br>  
         <br>  
         If you are reporting a crash, note the module in  
         which the software crashed (e.g., <tt>Application Violation in  
         gkhtml.dll</tt>).  
       </p>  
     </td>  
   </tr>  
   
   <tr>  
     <td valign="top" align="right">  
       <b>Severity</b>  
450      </td>      </td>
451      <td valign="top">      <td valign="top">
452        <select name="bug_severity">        <select name="bug_severity">
# Line 466  function PutDescription() { Line 472  function PutDescription() {
472          </option>          </option>
473        </select>        </select>
474        <p>        <p>
475          Say how serious the problem is, or if your [% terms.bug %] is a          Indicate how serious the problem is, or if your [% terms.bug %] is a
476          request for a new feature.          request for a new feature.
477        </p>        </p>
478      </td>      </td>
479    </tr>    </tr>
480      <tr>
481        <td valign="top" align="right" bgcolor="[% tablecolour %]">
482            <b>Assign To:</b>
483        </td>
484        <td valign="top">
485          [% safe_assigned_to = FILTER js; bug.assigned_to.login; END %]
486          [% INCLUDE global/userselect.html.tmpl
487          id => "assigned_to"
488          name => "assigned_to"
489          value => bug.assigned_to.login
490          size => 32
491          %]
492          <p>Leave the above blank to assign to the default component owner.</p>
493        </td>
494      </tr>
495  </table>  </table>
496    
   
 <a name="step3"></a>  
 <h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>  
   
497  <p>  <p>
498    <input type="submit" id="report" value="    Submit [% terms.Bug %] Report    "    <input type="submit" id="report" value="    Submit [% terms.Bug %] Report    "
499     onclick="if (this.form.comment.value == '')     onclick="if (this.form.comment.value == 'Description of problem:\n\n\nVersion-Release number of selected component (if applicable):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n')
500     { alert('Please enter some details about this [% terms.bug %].');     { alert('Please enter some details about this [% terms.bug %].');
501       this.form.comment.focus();       this.form.comment.focus();
502       return false; } return true;">       return false; } return true;">
# Line 487  function PutDescription() { Line 504  function PutDescription() {
504    
505  <p>  <p>
506    That's it! Thanks very much. You'll be notified by email about any    That's it! Thanks very much. You'll be notified by email about any
507    progress that is made on fixing your [% terms.bug %].    progress that is made on fixing your [% terms.bug %].
508      Thank you for choosing Mageia!
 <p>    
   Please be warned  
   that we get a lot of [% terms.bug %] reports filed - it may take quite a  
   while to get around to yours. You can help the process by making sure your  
   [%+ terms.bug %] is  
   complete and easy to understand, and by quickly replying to any questions  
   which may arrive by email.  
509  </p>  </p>
   
510      </form>      </form>
511    
512  [% PROCESS global/footer.html.tmpl %]  [% PROCESS global/footer.html.tmpl %]

Legend:
Removed from v.144  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.30