duplicates.html.tmpl 5.61 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Netscape Communications
  # Corporation. Portions created by Netscape are
  # Copyright (C) 1998 Netscape Communications Corporation. All
  # Rights Reserved.
  #
  # Contributor(s): Gervase Markham <gerv@gerv.net>
  #%]

[%# INTERFACE:
  # sortby: string. the column on which we are sorting the buglist.
  # reverse: boolean. True if we are reversing the current sort.
  # maxrows: integer. Max number of rows to display.
  # changedsince: integer. The number of days ago for the changedsince column.
26
  # openonly: boolean. True if we are only showing open bugs.
27
  # product: array of strings. The set of products we check for dups.
28 29 30
  #
  # Additionally, you need to fulfill the interface to
  # duplicates-table.html.tmpl.
31
  #%]
32 33 34

[% PROCESS global/variables.none.tmpl %]

35
[% IF product.size %]
36
  [% title = BLOCK %]
37 38
    Most Frequently Reported [% terms.Bugs %] for 
    [%+ product.join(', ') FILTER html %]
39
  [% END %]
40 41
[% ELSE %]
  [% title = "Most Frequently Reported $terms.Bugs" %]
42 43
[% END%]

44
[% PROCESS global/header.html.tmpl
45
   title = title
46
   style_urls = ['skins/standard/duplicates.css']
47
%]
48 49 50 51 52 53 54

<p>
  <a href="#explanation">What is this data?</a>
  <br>
  <a href="#params">Change parameters</a>
</p>

55
[% PROCESS "reports/duplicates-table.html.tmpl" %]
56 57 58

[%# *** Parameters *** %]

59
[% bug_ids_string = bug_ids.join(',') %]
60

61
<h3 id="params">Change Parameters</h3>
62 63

<form method="get" action="duplicates.cgi">
64
  <input type="hidden" name="sortby" value="[% sortby FILTER html %]">
65 66
  <input type="hidden" name="reverse" value="[% reverse FILTER html %]">
  <input type="hidden" name="bug_id" value="[% bug_ids_string FILTER html %]">
67 68
  <table>
    <tr>
69
      <td>When sorting or restricting, work with:</td>
70
      <td>
71
        <input type="radio" name="sortvisible" id="entirelist" value="0"
72
          [% ' checked="checked"' IF NOT sortvisible %]>
73 74 75
        <label for="entirelist">
          entire list
        </label>
76 77
        <br>
        <input type="radio" name="sortvisible" id="visiblelist" value="1"
78
          [% ' checked="checked"' IF sortvisible %]>
79 80 81 82 83 84
        <label for="visiblelist">
          currently visible list
        </label>
      </td>
      <td rowspan="4" valign="top">Restrict to products:</td>
      <td rowspan="4" valign="top">
85
        <select name="product" size="5" multiple="multiple">
86
          [% FOREACH p = user.get_selectable_products %]
87
            <option name="[% p.name FILTER html %]"
88
            [% ' selected="selected"' IF product.contains(p.name) %]
89
            >[% p.name FILTER html %]</option>
90 91 92 93 94 95
          [% END %]
        </select>
      </td>
     </tr>

    <tr>
96
      <td><label for="maxrows">Max rows:</label></td>
97
      <td>
98 99
        <input size="4" name="maxrows" id="maxrows" 
               value="[% maxrows FILTER html %]">
100 101 102 103 104
      </td>
    </tr>

    <tr>
      <td>
105 106 107 108 109
        <label for="changedsince">Change column is change in the last:</label>
      </td>
      <td>
        <input size="4" name="changedsince" id="changedsince"
               value="[% changedsince FILTER html %]"> days
110 111 112 113 114 115
      </td>
    </tr>

    <tr>
      <td>
        <label for="openonly">
116
          Open [% terms.bugs %] only:
117 118 119
        </label>
      </td>
      <td>
120
        <input type="checkbox" name="openonly" id="openonly" value="1"
121
          [% ' checked="checked"' IF openonly %]>
122 123 124 125 126
      </td>
    </tr>

  </table>

127
  <input type="submit" id="change" value="Change">
128 129 130
</form>

<form method="post" action="buglist.cgi">
131
  <input type="hidden" name="bug_id" value="[% bug_ids_string FILTER html %]">
132
  Or just give this to me as a <input type="submit" id="list" 
133
                                      value="[% terms.bug %] list">.
134 135 136
  (Note: the order may not be the same.)
</form>

137
<hr>
138

139 140 141
<h3 id="explanation">
  What are "Most Frequently Reported [% terms.Bugs %]"?
</h3>
142

143 144 145
<p>
  The Most Frequent [% terms.Bugs %] page lists the known open 
  [%+ terms.bugs %] which are reported most frequently,
146
  counting the number of direct and indirect duplicates of [% terms.bugs %].
147
  This information is provided in order to assist in minimizing
148 149 150 151
  the amount of duplicate [% terms.bugs %] entered into [% terms.Bugzilla %],
  which saves time for Quality Assurance engineers who have to triage
  the [% terms.bugs %].
</p>
152 153 154 155

<b>How do I use this list?</b>

<ul>
156
  <li>Review the most frequent [% terms.bugs %] list.</li>
157
  <li>If your problem is listed:</li>
158 159

  <ul>
160
    <li>Click on the [% terms.bug %] number to confirm that you have found the
161 162
      same [% terms.bug %], and comment if you have additional information
      or move on with your testing of the product.
163 164 165
    </li>
  </ul>

166
  <li>If your problem not listed:</li>
167 168

  <ul>
169
    <li><a href="query.cgi">Try and locate a similar [% terms.bug %]</a>
170
      that has already been filed.</li>
171
    <li>If you find your [% terms.bug %] in [% terms.Bugzilla %],
172 173 174 175
      feel free to comment with any new or additional data you may have.</li>
    <li>If you cannot find your problem already documented in 
      [%+ terms.Bugzilla %],
      <a href="enter_bug.cgi">file a new [% terms.bug %]</a>.</li>
176 177 178
  </ul>
</ul>

179
[% PROCESS global/footer.html.tmpl %]