1[%# This Source Code Form is subject to the terms of the Mozilla Public
2  # License, v. 2.0. If a copy of the MPL was not distributed with this
3  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4  #
5  # This Source Code Form is "Incompatible With Secondary Licenses", as
6  # defined by the Mozilla Public License, v. 2.0.
7  #%]
8
9[%# INTERFACE:
10  # sortby: string. the column on which we are sorting the buglist.
11  # reverse: boolean. True if we are reversing the current sort.
12  # maxrows: integer. Max number of rows to display.
13  # changedsince: integer. The number of days ago for the changedsince column.
14  # openonly: boolean. True if we are only showing open bugs.
15  # product: array of strings. The set of products we check for dups.
16  #
17  # Additionally, you need to fulfill the interface to
18  # duplicates-table.html.tmpl.
19  #%]
20
21[% IF product.size %]
22  [% title = BLOCK %]
23    Most Frequently Reported [% terms.Bugs %] for
24    [%+ product.join(', ') FILTER html %]
25  [% END %]
26[% ELSE %]
27  [% title = "Most Frequently Reported $terms.Bugs" %]
28[% END%]
29
30[% PROCESS global/header.html.tmpl title = title %]
31
32<p>
33  <a href="#explanation">What is this data?</a>
34  <br>
35  <a href="#params">Change parameters</a>
36</p>
37
38[% PROCESS "reports/duplicates-table.html.tmpl" %]
39
40[%# *** Parameters *** %]
41
42[% bug_ids_string = bug_ids.join(',') %]
43
44<h3 id="params">Change Parameters</h3>
45
46<form method="get" action="duplicates.cgi">
47  <input type="hidden" name="sortby" value="[% sortby FILTER html %]">
48  <input type="hidden" name="reverse" value="[% reverse FILTER html %]">
49  <input type="hidden" name="bug_id" value="[% bug_ids_string FILTER html %]">
50  <table>
51    <tr>
52      <td>Restrict to products:</td>
53      <td>
54        [% INCLUDE "global/product-select.html.tmpl"
55          id       => "product"
56          name     => "product"
57          multiple => 5
58          value    => product
59        %]
60      </td>
61    </tr>
62
63    <tr>
64      <td>When sorting or restricting, work with:</td>
65      <td>
66        <input type="radio" name="sortvisible" id="entirelist" value="0"
67          [% ' checked="checked"' IF NOT sortvisible %]>
68        <label for="entirelist">
69          entire list
70        </label>
71        <br>
72        <input type="radio" name="sortvisible" id="visiblelist" value="1"
73          [% ' checked="checked"' IF sortvisible %]>
74        <label for="visiblelist">
75          currently visible list
76        </label>
77      </td>
78     </tr>
79
80    <tr>
81      <td><label for="maxrows">Max rows:</label></td>
82      <td>
83        <input size="4" name="maxrows" id="maxrows"
84               value="[% maxrows FILTER html %]">
85      </td>
86    </tr>
87
88    <tr>
89      <td>
90        <label for="changedsince">Change column is change in the last:</label>
91      </td>
92      <td>
93        <input size="4" name="changedsince" id="changedsince"
94               value="[% changedsince FILTER html %]"> days
95      </td>
96    </tr>
97
98    <tr>
99      <td>
100        <label for="openonly">
101          Open [% terms.bugs %] only:
102        </label>
103      </td>
104      <td>
105        <input type="checkbox" name="openonly" id="openonly" value="1"
106          [% ' checked="checked"' IF openonly %]>
107      </td>
108    </tr>
109
110  </table>
111
112  <input type="submit" id="change" value="Change">
113</form>
114
115<form method="post" action="buglist.cgi">
116  <input type="hidden" name="bug_id" value="[% bug_ids_string FILTER html %]">
117  Or just give this to me as a <input type="submit" id="list"
118                                      value="[% terms.bug %] list">.
119  (Note: the order may not be the same.)
120</form>
121
122<hr>
123
124<h3 id="explanation">
125  What are "Most Frequently Reported [% terms.Bugs %]"?
126</h3>
127
128<p>
129  The Most Frequent [% terms.Bugs %] page lists the known open
130  [%+ terms.bugs %] which are reported most frequently,
131  counting the number of direct and indirect duplicates of [% terms.bugs %].
132  This information is provided in order to assist in minimizing
133  the amount of duplicate [% terms.bugs %] entered into [% terms.Bugzilla %],
134  which saves time for Quality Assurance engineers who have to triage
135  the [% terms.bugs %].
136</p>
137
138<b>How do I use this list?</b>
139
140<ul>
141  <li>Review the most frequent [% terms.bugs %] list.</li>
142  <li>If your problem is listed:</li>
143
144  <ul>
145    <li>Click on the [% terms.bug %] number to confirm that you have found the
146      same [% terms.bug %], and comment if you have additional information
147      or move on with your testing of the product.
148    </li>
149  </ul>
150
151  <li>If your problem not listed:</li>
152
153  <ul>
154    <li><a href="query.cgi">Try and locate a similar [% terms.bug %]</a>
155      that has already been filed.</li>
156    <li>If you find your [% terms.bug %] in [% terms.Bugzilla %],
157      feel free to comment with any new or additional data you may have.</li>
158    <li>If you cannot find your problem already documented in
159      [%+ terms.Bugzilla %],
160      <a href="enter_bug.cgi">file a new [% terms.bug %]</a>.</li>
161  </ul>
162</ul>
163
164[% PROCESS global/footer.html.tmpl %]
165