/[web]/templates/bugzilla/patches/bugzilla-add-easy-report-page.patch
ViewVC logotype

Contents of /templates/bugzilla/patches/bugzilla-add-easy-report-page.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147 - (show annotations) (download)
Mon Jan 10 08:18:59 2011 UTC (12 years, 4 months ago) by dmorgan
File size: 26541 byte(s)
Use guided template to report bugs
1 Index: bug/create/create-guided.html.tmpl
2 ===================================================================
3 --- bug/create/create-guided.html.tmpl (révision 144)
4 +++ bug/create/create-guided.html.tmpl (révision 145)
5 @@ -34,22 +34,11 @@
6 style = "#somebugs { width: 100%; height: 500px }"
7 %]
8
9 -<p>
10 - <font color="red">
11 - This is a template used on mozilla.org. This template, and the
12 - comment-guided.txt.tmpl template that formats the data submitted via
13 - the form in this template, are included as a demo of what it's
14 - possible to do with custom templates in general, and custom [% terms.bug %]
15 - entry templates in particular. As much of the text will not apply,
16 - you should alter it
17 - if you want to use this form on your [% terms.Bugzilla %] installation.
18 - </font>
19 -</p>
20 +[% tablecolour = "#efefef" %]
21
22 -[% tablecolour = "#FFFFCC" %]
23 -
24 [%# This script displays the descriptions for selected components. %]
25 <script type="text/javascript">
26 +<!--
27 var descriptions = [
28 [% FOREACH c = product.components %]
29 '[% c.description FILTER js %]',
30 @@ -65,116 +54,224 @@
31 }
32 }
33 }
34 -</script>
35
36 -<a name="step1"></a>
37 -<h3>Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
38 +var initialowners = new Array([% product.components.size %]);
39 +var last_initialowner;
40 +var initialccs = new Array([% product.components.size %]);
41 +var components = new Array([% product.components.size %]);
42 +var flags = new Array([% product.components.size %]);
43 +[% IF Param("useqacontact") %]
44 + var initialqacontacts = new Array([% product.components.size %]);
45 + var last_initialqacontact;
46 +[% END %]
47 +[% count = 0 %]
48 +[%- FOREACH c = product.components %]
49 + components[[% count %]] = "[% c.name FILTER js %]";
50 + initialowners[[% count %]] = "[% c.default_assignee.login FILTER js %]";
51 + [% flag_list = [] %]
52 + [% FOREACH f = c.flag_types.bug %]
53 + [% NEXT UNLESS f.is_active %]
54 + [% flag_list.push(f.id) %]
55 + [% END %]
56 + [% FOREACH f = c.flag_types.attachment %]
57 + [% NEXT UNLESS f.is_active %]
58 + [% flag_list.push(f.id) %]
59 + [% END %]
60 + flags[[% count %]] = [[% flag_list.join(",") FILTER js %]];
61 + [% IF Param("useqacontact") %]
62 + initialqacontacts[[% count %]] = "[% c.default_qa_contact.login FILTER js %]";
63 + [% END %]
64
65 -<p>
66 - <font color="red">Please don't skip this step - half of all
67 - [% terms.bugs %] filed are
68 - reported already.</font>
69 - Check the two lists of frequently-reported [% terms.bugs %]:
70 -</p>
71 + [% SET initial_cc_list = [] %]
72 + [% FOREACH cc_user = c.initial_cc %]
73 + [% initial_cc_list.push(cc_user.login) %]
74 + [% END %]
75 + initialccs[[% count %]] = "[% initial_cc_list.join(', ') FILTER js %]";
76
77 -[%# Include other products if sensible %]
78 -[% IF product.name == "Firefox" %]
79 - [% productstring = "product=Mozilla%20Application%20Suite&amp;product=Firefox" %]
80 -[% ELSIF product.name == "Thunderbird" %]
81 - [% productstring = "product=Mozilla%20Application%20Suite&amp;product=Thunderbird" %]
82 -[% ELSE %]
83 - [% productstring = BLOCK %]product=[% product.name FILTER url_quote %][% END %]
84 + [% count = count + 1 %]
85 +[%- END %]
86 +
87 +function set_assign_to() {
88 + // Based on the selected component, fill the "Assign To:" field
89 + // with the default component owner, and the "QA Contact:" field
90 + // with the default QA Contact. It also selectively enables flags.
91 + var form = document.Create;
92 + var assigned_to = form.assigned_to.value;
93 +
94 +[% IF Param("useqacontact") %]
95 + var qa_contact = form.qa_contact.value;
96 [% END %]
97
98 -<p>
99 - <a href="duplicates.cgi?[% productstring %]&amp;format=simple" target="somebugs">All-time Top 100</a> (loaded initially) |
100 - <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>
101 -</p>
102 + var index = -1;
103 + if (form.component.type == 'select-one') {
104 + index = form.component.selectedIndex;
105 + } else if (form.component.type == 'hidden') {
106 + // Assume there is only one component in the list
107 + index = 0;
108 + }
109 + if (index != -1) {
110 + var owner = initialowners[index];
111 + var component = components[index];
112 + if (assigned_to == last_initialowner
113 + || assigned_to == owner
114 + || assigned_to == '') {
115 + form.assigned_to.value = owner;
116 + last_initialowner = owner;
117 + }
118
119 -<iframe name="somebugs" id="somebugs"
120 - style="border: 2px black solid"
121 - src="duplicates.cgi?[% productstring %]&amp;format=simple">
122 -</iframe>
123 + document.getElementById('initial_cc').innerHTML = initialccs[index];
124
125 -<p>
126 - If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering
127 - a few key words having to do with your [% terms.bug %] in this box.
128 - For example: <tt><b>pop3 mail</b></tt> or <tt><b>copy paste</b></tt>.
129 - The results will appear above.
130 - </p>
131 + [% IF Param("useqacontact") %]
132 + var contact = initialqacontacts[index];
133 + if (qa_contact == last_initialqacontact
134 + || qa_contact == contact
135 + || qa_contact == '') {
136 + form.qa_contact.value = contact;
137 + last_initialqacontact = contact;
138 + }
139 + [% END %]
140
141 -[%# All bugs opened inside the past six months %]
142 - <form action="buglist.cgi" method="get" target="somebugs">
143 - <input type="hidden" name="format" value="simple">
144 - <input type="hidden" name="order" value="relevance desc">
145 - <input type="hidden" name="bug_status" value="__all__">
146 - <input type="hidden" name="product" value="[% product.name FILTER html %]">
147 - [% IF product.name == "Firefox" OR
148 - product.name == "Thunderbird" OR
149 - product.name == "Mozilla Application Suite" OR
150 - product.name == "Camino" %]
151 - <input type="hidden" name="product" value="Core">
152 - <input type="hidden" name="product" value="Toolkit">
153 - <input type="hidden" name="product" value="PSM">
154 - <input type="hidden" name="product" value="NSPR">
155 - <input type="hidden" name="product" value="NSS">
156 - [% END %]
157 - <input type="hidden" name="chfieldfrom" value="-6m">
158 - <input type="hidden" name="chfieldto" value="Now">
159 - <input type="hidden" name="chfield" value="[Bug creation]">
160 - <input type="text" name="content" size="40">
161 - <input type="submit" id="search" value="Search">
162 - </form>
163 + // First, we disable all flags. Then we re-enable those
164 + // which are available for the selected component.
165 + var inputElements = document.getElementsByTagName("select");
166 + var inputElement, flagField;
167 + for ( var i=0 ; i<inputElements.length ; i++ ) {
168 + inputElement = inputElements.item(i);
169 + if (inputElement.name.search(/^flag_type-(\d+)$/) != -1) {
170 + var id = inputElement.name.replace(/^flag_type-(\d+)$/, "$1");
171 + inputElement.disabled = true;
172 + // Also disable the requestee field, if it exists.
173 + inputElement = document.getElementById("requestee_type-" + id);
174 + if (inputElement) inputElement.disabled = true;
175 + }
176 + }
177 + // Now enable flags available for the selected component.
178 + for (var i = 0; i < flags[index].length; i++) {
179 + flagField = document.getElementById("flag_type-" + flags[index][i]);
180 + // Do not enable flags the user cannot set nor request.
181 + if (flagField && flagField.options.length > 1) {
182 + flagField.disabled = false;
183 + // Re-enabling the requestee field depends on the status
184 + // of the flag.
185 + toggleRequesteeField(flagField, 1);
186 + }
187 + }
188 + }
189 + PutDescription();
190 +}
191
192 -<p>
193 - Look through the search results. If you get the
194 - <tt><b>[% terms.zeroSearchResults %]</b></tt> message, [% terms.Bugzilla %]
195 - found no [% terms.bugs %] that
196 - match. Check for typing mistakes, or try fewer or different keywords.
197 - If you find [% terms.abug %] that looks the same as yours, please add
198 - any useful extra information you have to it, rather than opening a new one.
199 -</p>
200 +function handleWantsAttachment(wants_attachment) {
201 + if (wants_attachment) {
202 + document.getElementById('attachment_false').style.display = 'none';
203 + document.getElementById('attachment_true').style.display = 'block';
204 + }
205 + else {
206 + document.getElementById('attachment_false').style.display = 'block';
207 + document.getElementById('attachment_true').style.display = 'none';
208 + clearAttachmentFields();
209 + }
210 +}
211
212 +// this is courtesy of John Keller
213
214 -<a name="step2"></a>
215 -<h3>Step 2 of 3 - give information</h3>
216 +var LOOKUP_ADDR = "/lookup.php?pkg=";
217 +var ASSIGNEE_OBJ_NAME = "assigned_to";
218 +var NOT_FOUND = "NOT_FOUND";
219
220 -<p>
221 - If you've tried a few searches and your [% terms.bug %] really isn't in
222 - there, tell us all about it.
223 -</p>
224 +var http_connection = null;
225
226 +// init XMLHttpRequest object, based on browser type
227 +function initHttpConnection() {
228 + http_connection = null;
229 +
230 + try {
231 + // Firefox, Opera 8.0+, Safari
232 + http_connection = new XMLHttpRequest();
233 + } catch (e) {
234 + // Internet Explorer
235 + try {
236 + http_connection = new ActiveXObject("Msxml2.XMLHTTP");
237 + } catch (e) {
238 + try {
239 + http_connection = new ActiveXObject("Microsoft.XMLHTTP");
240 + } catch (e) {
241 + // browser does not support AJAX
242 + }
243 + }
244 + }
245 +
246 + if (http_connection != null) {
247 + http_connection.onreadystatechange = onLoadMaintainer;
248 + }
249 +}
250 +
251 +// handler for data received
252 +// text field to set should be similar to
253 +// <input name="assigned_to" id="assigned_to" />
254 +function onLoadMaintainer() {
255 + var field_obj;
256 +
257 + if ((http_connection.readyState == 4) && (http_connection.status == 200)) {
258 + if ((http_connection.responseText != null) && (http_connection.responseText != NOT_FOUND)) {
259 + if ((field_obj = document.getElementById(ASSIGNEE_OBJ_NAME)) != null) {
260 + field_obj.value = http_connection.responseText;
261 + }
262 + }
263 + } else {
264 + // by default, we'll leave form value alone and don't do anything else
265 + // this is a good place to set a default or show an error, though
266 + }
267 +}
268 +
269 +// handler for when user enters a package
270 +// text field to set should be similar to
271 +// <input name="cf_rpmpkg" onchange="onChangePackage(this)" />
272 +function onChangePackage(input_obj) {
273 + initHttpConnection();
274 +
275 + if ((http_connection != null) && (input_obj.value != "")) {
276 + http_connection.open("GET", LOOKUP_ADDR + encodeURIComponent(input_obj.value));
277 + http_connection.send(null);
278 + }
279 +};
280 +
281 +
282 +-->
283 +</script>
284 +
285 +<p>&nbsp;&nbsp;&nbsp;Submit a bug using the <a href="enter_bug.cgi?product=[% product.name FILTER html %]">expert bug form</a>.</p>
286 +
287 +
288 <form method="post" action="post_bug.cgi">
289 <input type="hidden" name="format" value="guided">
290 <input type="hidden" name="assigned_to" value="">
291 <input type="hidden" name="priority"
292 value="[% default.priority FILTER html %]">
293 - <input type="hidden" name="version"
294 - value="[% default.version FILTER html %]">
295 <input type="hidden" name="token" value="[% token FILTER html %]">
296 + <input type="hidden" name="op_sys" value="Linux">
297
298 <table valign="top" cellpadding="5" cellspacing="5" border="0">
299
300 - <tr bgcolor="[% tablecolour %]">
301 - <td align="right" valign="top">
302 - <b>Product</b>
303 + <tr>
304 + <td align="right" valign="top" bgcolor="[% tablecolour %]" width="10%">
305 + <b>Product:</b>
306 </td>
307 <td valign="top">
308 <input type="hidden" name="product" value="[% product.name FILTER html %]">
309 - [% product.name FILTER html %]
310 + <b>[% product.name FILTER html %]</b>
311 </td>
312 </tr>
313
314 <tr>
315 - <td align="right" valign="top">
316 - <b>Component</b>
317 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
318 + <b>Component:</b>
319 </td>
320 <td valign="top">
321 <table border="0" cellpadding="0" cellspacing="0">
322 <tr>
323 <td valign="top">
324 <select name="component" id="component"
325 - size="5" onchange="PutDescription()">
326 + size="5" onchange="PutDescription();">
327 [% IF NOT default.component_ %]
328 [%# Various b.m.o. products have a "General" component,
329 which is a useful default. %]
330 @@ -201,6 +298,8 @@
331 </td>
332 </tr>
333 </table>
334 + <p style="font-size: 85%;">Core packages are those packages found in the main and contrib repositories, and Other
335 + packages are those found in non-free and commercial repositories; if you're unsure, choose Core.</p>
336
337 <p>
338 The area where the problem occurs.
339 @@ -213,82 +312,74 @@
340 </td>
341 </tr>
342
343 - [%# We override rep_platform and op_sys for simplicity. The values chosen
344 - are based on which are most common in the b.m.o database %]
345 - [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]
346 -
347 - <tr bgcolor="[% tablecolour %]">
348 - <td align="right" valign="top">
349 - <b>Hardware Platform</b>
350 + <tr>
351 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
352 + <b>Version:</b>
353 </td>
354 <td valign="top">
355 - [% PROCESS select sel = 'rep_platform' %]
356 + <select name="version" size="5">
357 + [%- FOREACH v = version %]
358 + <option value="[% v FILTER html %]"
359 + [% " selected=\"selected\"" IF v == default.version %]>[% v FILTER html %]
360 + </option>
361 + [% END %]
362 + </select>
363 </td>
364 </tr>
365
366 - [% op_sys = [ "Windows 2000", "Windows XP", "Windows Vista", "Windows 7",
367 - "Mac OS X", "Linux", "All", "Other" ] %]
368 + [%# We override rep_platform and op_sys for simplicity. The values chosen
369 + are based on which are most common in the b.m.o database %]
370 + [% rep_platform = [ "All", "i586", "x86_64" ] %]
371
372 - <tr>
373 - <td align="right" valign="top">
374 - <b>Operating System</b>
375 + <tr>
376 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
377 + <b>Hardware Platform:</b>
378 </td>
379 <td valign="top">
380 - [% PROCESS select sel = 'op_sys' %]
381 + [% PROCESS select sel = 'rep_platform' %]
382 </td>
383 </tr>
384
385 - [% IF product.name.match("Firefox|Camino|Mozilla Application Suite") %]
386 - [% matches = cgi.user_agent('Gecko/(\d+)') %]
387 - [% buildid = cgi.user_agent() IF matches %]
388 - [% END %]
389 -
390 - [%# Accept URL parameter build ID for non-browser products %]
391 - [% IF cgi.param("buildid") %]
392 - [% buildid = cgi.param("buildid") %]
393 - [% END %]
394 -
395 - <tr bgcolor="[% tablecolour %]">
396 - <td align="right" valign="top">
397 - <b>Build Identifier</b>
398 + <tr>
399 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
400 + <b>Source RPM:</b>
401 </td>
402 <td valign="top">
403 - <input type="text" size="80" name="buildid" value="[% buildid FILTER html %]">
404 - <p>
405 - This should identify the exact version of the product you were using.
406 - If the above field is blank or you know it is incorrect, copy the
407 - version text from the product's Help |
408 - About menu (for browsers this will begin with "Mozilla/5.0...").
409 - If the product won't start, instead paste the complete URL you downloaded
410 - it from.
411 + <input type="text" size="80" name="cf_rpmpkg" value="" onchange="onChangePackage(this)">
412 + <p>
413 + This is where you can identify exactly which RPM package is involved in this bug report. For instance,
414 + if you know the problem you are having is with the program <tt>mysqld</tt>, then execute
415 + <tt>rpm -qif /usr/sbin/mysqld</tt>. This will tell you the name and version of the RPM
416 + package (i.e. MySQL-5.0.27-1mga1) as well as other information. In particular, you are looking for
417 + the "Source RPM" field (i.e. MySQL-5.0.27-1mga1.src.rpm) -- this is the information you should
418 + provide here. Alternatively, you may use <tt>rpm -qf /usr/sbin/mysqld --qf '%{SOURCERPM}\n'</tt> to
419 + obtain the information. If you do not know the location of the program in question, use <tt>rpm -qf `which mysqld`</tt>
420 + to obtain it. Please enter that information above.
421 </p>
422 </td>
423 </tr>
424
425 <tr>
426 - <td align="right" valign="top">
427 - <b>URL</b>
428 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
429 + <b>URL:</b>
430 </td>
431 <td valign="top">
432 <input type="text" size="80" name="bug_file_loc" value="http://">
433 <p>
434 - URL that demonstrates the problem you are seeing (optional).<br>
435 - <b>IMPORTANT</b>: if the problem is with a broken web page, you need
436 - to report it
437 - <a href="https://bugzilla.mozilla.org/page.cgi?id=broken-website.html">a different way</a>.
438 + URL that demonstrates the problem you are submitting (optional).
439 </p>
440 </td>
441 </tr>
442
443 - <tr bgcolor="[% tablecolour %]">
444 - <td align="right" valign="top">
445 - <b>Summary</b>
446 + <tr>
447 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
448 + <b>Summary:</b>
449 </td>
450 <td valign="top">
451 <input type="text" size="80" name="short_desc" id="short_desc"
452 maxlength="255" spellcheck="true">
453 <p>
454 - A sentence which summarises the problem.
455 + A sentence that summarizes the problem.
456 Please be descriptive and use lots of keywords.
457 </p>
458 <p>
459 @@ -298,151 +389,66 @@
460 <br>
461 <tt>
462 <font color="#009900">Good example</font>:
463 - crash if I close the mail window while checking for new POP mail
464 + crash in Evolution while checking for new POP mail
465 </tt>
466 </p>
467 </td>
468 </tr>
469
470 <tr>
471 - <td align="right" valign="top">
472 - <b>Details</b>
473 + <td align="right" valign="top" bgcolor="[% tablecolour %]">
474 + <b>Details:</b>
475 </td>
476 <td valign="top">
477 [% INCLUDE global/textarea.html.tmpl
478 name = 'comment'
479 - minrows = 6
480 + minrows = 10
481 + maxrows = 25
482 cols = constants.COMMENT_COLS
483 + 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"
484 %]
485 + [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
486 + <br />&nbsp;&nbsp;
487 + <input type="checkbox" id="commentprivacy" name="commentprivacy"
488 + [% " checked=\"checked\"" IF commentprivacy %]>
489 + <label for="commentprivacy">
490 + Initial Description is Private
491 + </label>
492 + [% END %]
493 +
494 <p>
495 Expand on the Summary. Please be
496 as specific as possible about what is wrong.
497 </p>
498 <p>
499 <tt>
500 - <font color="#990000">Bad example</font>: Mozilla crashed.
501 - You suck!
502 + <font color="#990000">Bad example</font>: I can't seem to login to the system. Please help!
503 </tt>
504 <br>
505 <tt>
506 - <font color="#009900">Good example</font>: After a crash which
507 - happened when I was sorting in the Bookmark Manager,<br> all of my
508 - top-level bookmark folders beginning with the letters Q to Z are
509 - no longer present.
510 + <font color="#009900">Good example</font>:<br /><br />
511 + Description of problem:<br /><br />
512 + I'm unable to login to the system via ssh. The /var/log/messages
513 + log indicates there is a problem with the pam module pam_ldap, but the /etc/pam.d/system-auth file doesn't
514 + 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
515 + not sure how it got there, unless it was due to the super-spiffy super-ldap-mojo package I installed yesterday. <br /><br />
516 + Version-Release number of selected component (if applicable):<br /><br />
517 + openldap-2.3.34-5mga1, pam-0.99.7.1-2mga1<br /><br />
518 + How reproducible:<br /><br />
519 + Every time I attempt to login.<br /><br />
520 + Steps to Reproduce:<br />
521 + 1. ssh user@host<br />
522 + 2. see the rejection<br />
523 </tt>
524 </p>
525 </td>
526 </tr>
527
528 - <tr bgcolor="[% tablecolour %]">
529 - <td align="right" valign="top">
530 - <b>Reproducibility</b>
531 - </td>
532 - <td valign="top">
533 - <select name="reproducible">
534 - <option name="AlwaysReproducible" value="Always">
535 - Happens every time.
536 - </option>
537 - <option name="Sometimes" value="Sometimes">
538 - Happens sometimes, but not always.
539 - </option>
540 - <option name="DidntTry" value="Didn't try">
541 - Haven't tried to reproduce it.
542 - </option>
543 - <option name="NotReproducible" value="Couldn't Reproduce">
544 - Tried, but couldn't reproduce it.
545 - </option>
546 - </select>
547 - </td>
548 - </tr>
549 -
550 <tr>
551 - <td align="right" valign="top">
552 - <b>Steps to Reproduce</b>
553 + <td valign="top" align="right" bgcolor="[% tablecolour %]">
554 + <b>Severity:</b>
555 </td>
556 <td valign="top">
557 - [% INCLUDE global/textarea.html.tmpl
558 - name = 'reproduce_steps'
559 - minrows = 4
560 - cols = constants.COMMENT_COLS
561 - defaultcontent = "1.\n2.\n3."
562 - %]
563 - <p>
564 - Describe how to reproduce the problem, step by
565 - step. Include any special setup steps.
566 - </p>
567 - </td>
568 - </tr>
569 -
570 - <tr bgcolor="[% tablecolour %]">
571 - <td valign="top" align="right">
572 - <b>Actual Results</b>
573 - </td>
574 - <td valign="top">
575 - [% INCLUDE global/textarea.html.tmpl
576 - name = 'actual_results'
577 - minrows = 4
578 - cols = constants.COMMENT_COLS
579 - %]
580 - <p>
581 - What happened after you performed the steps above?
582 - </p>
583 - </td>
584 - </tr>
585 -
586 - <tr>
587 - <td valign="top" align="right">
588 - <b>Expected Results</b>
589 - </td>
590 - <td valign="top">
591 - [% INCLUDE global/textarea.html.tmpl
592 - name = 'expected_results'
593 - minrows = 4
594 - cols = constants.COMMENT_COLS
595 - %]
596 - <p>
597 - What should the software have done instead?
598 - </p>
599 - </td>
600 - </tr>
601 -
602 - <tr bgcolor="[% tablecolour %]">
603 - <td valign="top" align="right">
604 - <b>Additional Information</b>
605 - </td>
606 - <td valign="top">
607 - [% INCLUDE global/textarea.html.tmpl
608 - name = 'additional_info'
609 - minrows = 8
610 - cols = constants.COMMENT_COLS
611 - %]
612 - <p>
613 - Add any additional information you feel may be
614 - relevant to this [% terms.bug %], such as the <b>theme</b> you were
615 - using (does the [% terms.bug %] still occur
616 - with the default theme?), a
617 - <b><a href="http://kb.mozillazine.org/Quality_Feedback_Agent">Talkback crash ID</a></b>, or special
618 - information about <b>your computer's configuration</b>. Any information
619 - longer than a few lines, such as a <b>stack trace</b> or <b>HTML
620 - testcase</b>, should be added
621 - using the "Add an Attachment" link on the [% terms.bug %], after
622 - it is filed. If you believe that it's relevant, please also include
623 - your build configuration, obtained by typing <tt>about:buildconfig</tt>
624 - into your URL bar.
625 - <br>
626 - <br>
627 - If you are reporting a crash, note the module in
628 - which the software crashed (e.g., <tt>Application Violation in
629 - gkhtml.dll</tt>).
630 - </p>
631 - </td>
632 - </tr>
633 -
634 - <tr>
635 - <td valign="top" align="right">
636 - <b>Severity</b>
637 - </td>
638 - <td valign="top">
639 <select name="bug_severity">
640 <option name="critical" value="critical">
641 Critical: The software crashes, hangs, or causes you to
642 @@ -466,20 +472,31 @@
643 </option>
644 </select>
645 <p>
646 - Say how serious the problem is, or if your [% terms.bug %] is a
647 + Indicate how serious the problem is, or if your [% terms.bug %] is a
648 request for a new feature.
649 </p>
650 </td>
651 </tr>
652 + <tr>
653 + <td valign="top" align="right" bgcolor="[% tablecolour %]">
654 + <b>Assign To:</b>
655 + </td>
656 + <td valign="top">
657 + [% safe_assigned_to = FILTER js; bug.assigned_to.login; END %]
658 + [% INCLUDE global/userselect.html.tmpl
659 + id => "assigned_to"
660 + name => "assigned_to"
661 + value => bug.assigned_to.login
662 + size => 32
663 + %]
664 + <p>Leave the above blank to assign to the default component owner.</p>
665 + </td>
666 + </tr>
667 </table>
668
669 -
670 -<a name="step3"></a>
671 -<h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>
672 -
673 <p>
674 <input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
675 - onclick="if (this.form.comment.value == '')
676 + 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')
677 { alert('Please enter some details about this [% terms.bug %].');
678 this.form.comment.focus();
679 return false; } return true;">
680 @@ -487,17 +504,9 @@
681
682 <p>
683 That's it! Thanks very much. You'll be notified by email about any
684 - progress that is made on fixing your [% terms.bug %].
685 -
686 -<p>
687 - Please be warned
688 - that we get a lot of [% terms.bug %] reports filed - it may take quite a
689 - while to get around to yours. You can help the process by making sure your
690 - [%+ terms.bug %] is
691 - complete and easy to understand, and by quickly replying to any questions
692 - which may arrive by email.
693 + progress that is made on fixing your [% terms.bug %].
694 + Thank you for choosing Mageia!
695 </p>
696 -
697 </form>
698
699 [% PROCESS global/footer.html.tmpl %]
700 Index: index.html.tmpl
701 ===================================================================
702 --- index.html.tmpl (révision 145)
703 +++ index.html.tmpl (copie de travail)
704 @@ -126,7 +126,7 @@
705 <h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
706 <div class="intro">[% Hook.process('intro') %]</div>
707 <a id="enter_bug" class="bz_common_actions"
708 - href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a>
709 + href="enter_bug.cgi?format=guided&classification=__all"><span>File [% terms.aBug %]</span></a>
710
711 <a id="query" class="bz_common_actions"
712 href="query.cgi"><span>Search</span></a>

  ViewVC Help
Powered by ViewVC 1.1.28