[Openfirst-cvscommit] www/htdocs/bugzilla/reports components.html.tmpl,1.1,1.2 duplicates-simple.htm
Brought to you by:
xtimg
Update of /cvsroot/openfirst/www/htdocs/bugzilla/reports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32743/reports Modified Files: components.html.tmpl duplicates-simple.html.tmpl duplicates-table.html.tmpl duplicates.html.tmpl keywords.html.tmpl Log Message: Bring templates up to date for Bugzilla 2.18.1 Index: duplicates.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/reports/duplicates.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** duplicates.html.tmpl 28 Jun 2004 00:43:39 -0000 1.1 --- duplicates.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 22,44 **** [%# INTERFACE: # products: list of strings. The products this user can see. ! # # 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. ! # openonly: boolean. True if we are only showing open bugs. ! # product: string. Restrict to this product only. # # Additionally, you need to fulfill the interface to # duplicates-table.html.tmpl. #%] ! ! [% IF product %] ! [% title = "Most Frequently Reported Bugs for $product" %] ! [% ELSE %] ! [% title = "Most Frequently Reported Bugs" %] [% END%] ! [% PROCESS global/header.html.tmpl %] <p> --- 22,48 ---- [%# INTERFACE: # products: list of strings. The products this user can see. ! # # 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. ! # openonly: boolean. True if we are only showing open bugs. ! # query_products: list of strings. The set of products we check for dups. # # Additionally, you need to fulfill the interface to # duplicates-table.html.tmpl. #%] ! ! [% PROCESS global/variables.none.tmpl %] ! ! [% IF query_products.size %] ! [% title = "Most Frequently Reported $terms.Bugs for ${query_products.join(', ')}" %] ! [% ELSE %] ! [% title = "Most Frequently Reported $terms.Bugs" %] [% END%] ! [% PROCESS global/header.html.tmpl ! style = ".resolved { background-color: #d9d9d9; color: #000000; }" ! %] <p> *************** *** 50,56 **** [% PROCESS "reports/duplicates-table.html.tmpl" %] - <br> - <br> - [%# *** Parameters *** %] --- 54,57 ---- *************** *** 68,79 **** work with:</td> <td> ! <input type="radio" name="sortvisible" id="entirelist" value="0" ! [% "checked" IF NOT sortvisible %]> <label for="entirelist"> entire list </label> ! <br> ! <input type="radio" name="sortvisible" id="visiblelist" value="1" ! [% "checked" IF sortvisible %]> <label for="visiblelist"> currently visible list --- 69,80 ---- work with:</td> <td> ! <input type="radio" name="sortvisible" id="entirelist" value="0" ! [% "checked" IF NOT sortvisible %]> <label for="entirelist"> entire list </label> ! <br> ! <input type="radio" name="sortvisible" id="visiblelist" value="1" ! [% "checked" IF sortvisible %]> <label for="visiblelist"> currently visible list *************** *** 85,89 **** [% FOREACH p = products %] <option name="[% p FILTER html %]" ! [% " selected" IF product == p %]>[% p FILTER html %]</option> [% END %] </select> --- 86,91 ---- [% FOREACH p = products %] <option name="[% p FILTER html %]" ! [% " selected" IF lsearch(query_products, p) != -1 %] ! >[% p FILTER html %]</option> [% END %] </select> *************** *** 108,117 **** <td> <label for="openonly"> ! Open bugs only: </label> </td> <td> ! <input type="checkbox" name="openonly" id="openonly" value="1" ! [% "checked" IF openonly %]> </td> </tr> --- 110,119 ---- <td> <label for="openonly"> ! Open [% terms.bugs %] only: </label> </td> <td> ! <input type="checkbox" name="openonly" id="openonly" value="1" ! [% "checked" IF openonly %]> </td> </tr> *************** *** 119,123 **** </table> ! <input type="submit" value="Change"> </form> --- 121,125 ---- </table> ! <input type="submit" value="Change"> </form> *************** *** 125,129 **** <input type="hidden" name="bug_id" value="[% bug_ids_string %]"> <input type="hidden" name="order" value="Reuse same sort as last time"> ! Or just give this to me as a <input type="submit" value="bug list">. (Note: the order may not be the same.) </form> --- 127,131 ---- <input type="hidden" name="bug_id" value="[% bug_ids_string %]"> <input type="hidden" name="order" value="Reuse same sort as last time"> ! Or just give this to me as a <input type="submit" value="[% terms.bug %] list">. (Note: the order may not be the same.) </form> *************** *** 132,146 **** <b> ! <a name="explanation">What are "Most Frequently Reported Bugs"?</a> </b> <blockquote> ! The Most Frequent Bugs page lists the known open bugs which ! are reported most frequently in recent builds. It is ! automatically generated from the Bugzilla database every 24 hours, by ! counting the number of direct and indirect duplicates of bugs. This information is provided in order to assist in minimizing ! the amount of duplicate bugs entered into Bugzilla which in turn cuts down ! on development time. </blockquote> --- 134,148 ---- <b> ! <a name="explanation">What are "Most Frequently Reported [% terms.Bugs %]"?</a> </b> <blockquote> ! The Most Frequent [% terms.Bugs %] page lists the known open [% terms.bugs %] which ! are reported most frequently. It is ! automatically generated from the [% terms.Bugzilla %] database every 24 hours, by ! counting the number of direct and indirect duplicates of [% terms.bugs %]. This information is provided in order to assist in minimizing ! the amount of duplicate [% terms.bugs %] entered into [% terms.Bugzilla %], which ! saves time for Quality Assurance engineers who have to triage the [% terms.bugs %]. </blockquote> *************** *** 148,173 **** <ul> ! <li>Review the most frequent bugs list.</li> ! <li>If problem is listed:</li> <ul> ! <li>Click on Bug # link to confirm that you have found the same bug and ! comment if you have additional information. Or move on with your testing ! of the product. </li> </ul> ! <li>If problem not listed:</li> <ul> ! <li>Go to the <a href="query.cgi">Bugzilla Search</a> ! page to try and locate a similar bug that has already been written.</li> ! <li>If you find your bug in Bugzilla, feel free to comment with any new or ! additional data you may have.</li> ! <li>If you cannot find your problem already documented in Bugzilla, go to ! the ! <a href="http://www.mozilla.org/quality/help/bug-form.html">Bugzilla ! Helper</a> ! and post a new bug.</li> </ul> </ul> --- 150,172 ---- <ul> ! <li>Review the most frequent [% terms.bugs %] list.</li> ! <li>If your problem is listed:</li> <ul> ! <li>Click on the [% terms.bug %] number to confirm that you have found the ! same [% terms.bug %], and comment if you have additional information ! or move on with your testing of the product. </li> </ul> ! <li>If your problem not listed:</li> <ul> ! <li><a href="query.cgi">Try and locate a similar [% terms.bug %]</a> ! that has already been filed.</li> ! <li>If you find your [% terms.bug %] in [% terms.Bugzilla %], ! 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> </ul> </ul> Index: duplicates-table.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/reports/duplicates-table.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** duplicates-table.html.tmpl 28 Jun 2004 00:43:39 -0000 1.1 --- duplicates-table.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 31,142 **** # short_desc: string. The bug's summary. # bug_status: string. The bug's status. ! # # bug_ids: list of integers. May be empty. The IDs of the bugs in $bugs. ! # # 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. ! # openonly: boolean. True if we are only showing open bugs. ! # product: string. Restrict to this product only. #%] ! [%# *** Column Headers *** %] ! <table border> ! <tr bgcolor="#CCCCCC"> ! [% FOREACH column = [ { name => "id", description => "Bug #" }, ! { name => "count", description => "Dupe<br>Count" }, ! { name => "delta", ! description => "Change in last<br>$changedsince day(s)" }, ! { name => "component", description => "Component" }, ! { name => "bug_severity", description => "Severity" }, ! { name => "op_sys", description => "Op Sys" }, ! { name => "target_milestone", ! description => "Target<br>Milestone" }, ! { name => "short_desc", description => "Summary" } ] ! %] ! ! [%# Small hack to keep delta column out if we don't need it %] ! [% NEXT IF column.name == "delta" AND NOT dobefore %] ! <td> ! <center> ! <b> ! [% bug_ids_string = bug_ids.join(',') %] ! <a href="duplicates.cgi?sortby=[% column.name %] ! [% IF sortby == column.name %] ! [% "&reverse=1" IF NOT reverse %] ! [% ELSE %] ! [%-# Some columns start off reversed %] ! [% "&reverse=1" IF column.name.match('delta|count') %] ! [% END %] ! [% "&maxrows=$maxrows" IF maxrows %] ! [% "&changedsince=$changedsince" IF changedsince %] ! [% "&openonly=1" IF openonly %] ! [% "&product=$product" IF product %] ! [% "&format=$format" IF format %] ! [% "&bug_id=$bug_ids_string&sortvisible=1" IF sortvisible %]"> ! [% column.description %]</a> ! </b> ! </center> ! </td> ! [% END %] ! </tr> ! ! [% IF NOT sortby %] ! [% sortby = "count"; reverse = "1" %] ! [% END %] ! [% IF sortby == "id" OR sortby == "count" OR sortby == "delta" %] ! [%# Numeric sort %] ! [% sortedbugs = bugs.nsort(sortby) %] ! [% ELSE %] ! [% sortedbugs = bugs.sort(sortby) %] ! [% END %] ! [% IF reverse %] ! [% bugs = sortedbugs.reverse %] ! [% ELSE %] ! [% bugs = sortedbugs %] ! [% END %] ! [%# *** Buglist *** %] ! [%# We need to keep track of the bug IDs we are actually displaying, because ! # if the user decides to sort the visible list, we need to know what that ! # list actually is. %] ! [% vis_bug_ids = [] %] ! [% FOREACH bug = bugs %] ! [% LAST IF loop.index() >= maxrows %] ! [% vis_bug_ids.push(bug.id) %] ! <tr> ! <td> ! <center> ! [% "<strike>" IF bug.resolution != "" %] ! <a href="show_bug.cgi?id=[% bug.id %]">[% bug.id %]</a> ! [% "</strike>" IF bug.resolution != "" %] ! </center> ! </td> ! <td> ! <center> ! [% bug.count %] ! </center> ! </td> ! [% IF dobefore %] ! <td><center>[% bug.delta %]</center></td> ! [% END %] ! <td>[% bug.component %]</td> ! <td><center>[% bug.bug_severity %]</center></td> ! <td><center>[% bug.op_sys %]</center></td> ! <td><center>[% bug.target_milestone %]</center></td> ! <td>[% bug.short_desc FILTER html %]</td> ! </tr> ! [% END %] ! </table> --- 31,149 ---- # short_desc: string. The bug's summary. # bug_status: string. The bug's status. ! # resolution: string. The bug's resolution, if any. ! # # bug_ids: list of integers. May be empty. The IDs of the bugs in $bugs. ! # # 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. ! # openonly: boolean. True if we are only showing open bugs. ! # query_products: list of strings. Restrict to these products only. #%] ! ! [% PROCESS global/variables.none.tmpl %] ! [%# *** Column Headers *** %] ! [% IF bug_ids.size > 0 %] ! <table border> ! <tr bgcolor="#CCCCCC"> ! [% FOREACH column = [ { name => "id", description => "$terms.Bug #" }, ! { name => "count", description => "Dupe<br>Count" }, ! { name => "delta", ! description => "Change in last<br>$changedsince day(s)" }, ! { name => "component", description => "Component" }, ! { name => "bug_severity", description => "Severity" }, ! { name => "op_sys", description => "Op Sys" }, ! { name => "target_milestone", ! description => "Target<br>Milestone" }, ! { name => "short_desc", description => "Summary" } ] ! %] ! [%# Small hack to keep delta column out if we don't need it %] ! [% NEXT IF column.name == "delta" AND NOT dobefore %] ! <td> ! <center> ! <b> ! [% bug_ids_string = bug_ids.join(',') %] ! <a href="duplicates.cgi?sortby=[% column.name %] ! [% IF sortby == column.name %] ! [% "&reverse=1" IF NOT reverse %] ! [% ELSE %] ! [%-# Some columns start off reversed %] ! [% "&reverse=1" IF column.name.match('delta|count') %] ! [% END %] ! [% "&maxrows=$maxrows" IF maxrows %] ! [% "&changedsince=$changedsince" IF changedsince %] ! [% "&openonly=1" IF openonly %] ! [% FOREACH p = query_products %]&product=[% p FILTER html %][% END %] ! [% IF format %]&format=[% format FILTER html %][% END %] ! [% "&bug_id=$bug_ids_string&sortvisible=1" ! IF sortvisible %]"> ! [% column.description %]</a> ! </b> ! </center> ! </td> ! [% END %] ! </tr> ! [% IF NOT sortby %] ! [% sortby = "count"; reverse = "1" %] ! [% END %] ! [% IF sortby == "id" OR sortby == "count" OR sortby == "delta" %] ! [%# Numeric sort %] ! [% sortedbugs = bugs.nsort(sortby) %] ! [% ELSE %] ! [% sortedbugs = bugs.sort(sortby) %] ! [% END %] ! [% IF reverse %] ! [% bugs = sortedbugs.reverse %] ! [% ELSE %] ! [% bugs = sortedbugs %] ! [% END %] ! [%# *** Buglist *** %] ! [%# We need to keep track of the bug IDs we are actually displaying, because ! # if the user decides to sort the visible list, we need to know what that ! # list actually is. %] ! [% vis_bug_ids = [] %] ! [% FOREACH bug = bugs %] ! [% LAST IF loop.index() >= maxrows %] ! [% vis_bug_ids.push(bug.id) %] ! <tr [% "class='resolved'" IF bug.resolution != "" %]> ! <td> ! <center> ! [% isclosed = bug.resolution != "" %] ! <a href="show_bug.cgi?id=[% bug.id %]">[% bug.id FILTER closed(isclosed) %]</a> ! </center> ! </td> ! <td> ! <center> ! [% bug.count %] ! </center> ! </td> ! [% IF dobefore %] ! <td><center>[% bug.delta %]</center></td> ! [% END %] ! ! <td>[% bug.component FILTER html %]</td> ! <td><center>[% bug.bug_severity FILTER html %]</center></td> ! <td><center>[% bug.op_sys FILTER html %]</center></td> ! <td><center>[% bug.target_milestone FILTER html %]</center></td> ! <td>[% bug.short_desc FILTER html %]</td> ! </tr> ! [% END %] ! ! </table> ! [% ELSE %] ! <h3>No duplicate [% terms.bugs %] found.</h3> ! [% END %] Index: components.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/reports/components.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** components.html.tmpl 28 Jun 2004 00:43:39 -0000 1.1 --- components.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 80,90 **** </td> <td> ! <a href="mailto:[% comp.initialowner %][% Param('emailsuffix') %]"> [% comp.initialowner FILTER html %]</a> </td> [% IF Param("useqacontact") %] <td> ! <a href="mailto:[% comp.initialqacontact %][% Param('emailsuffix') %]"> ! [% comp.initialqacontact %]</a> </td> [% END %] --- 80,92 ---- </td> <td> ! <a href="mailto:[% comp.initialowner FILTER html %] ! [% Param('emailsuffix') %]"> [% comp.initialowner FILTER html %]</a> </td> [% IF Param("useqacontact") %] <td> ! <a href="mailto:[% comp.initialqacontact FILTER html %] ! [% Param('emailsuffix') %]"> ! [% comp.initialqacontact FILTER html %]</a> </td> [% END %] Index: duplicates-simple.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/reports/duplicates-simple.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** duplicates-simple.html.tmpl 28 Jun 2004 00:43:39 -0000 1.1 --- duplicates-simple.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 23,37 **** # You need to fulfill the interface to duplicates-table.html.tmpl. #%] ! <html> [% IF product %] ! [% title = "Most Frequently Reported Bugs for $product" %] ! [% ELSE %] ! [% title = "Most Frequently Reported Bugs" %] [% END%] <head> ! <title>[% title %]</title> </head> --- 23,39 ---- # You need to fulfill the interface to duplicates-table.html.tmpl. #%] ! ! [% PROCESS global/variables.none.tmpl %] ! <html> [% IF product %] ! [% title = "Most Frequently Reported $terms.Bugs for $product" %] ! [% ELSE %] ! [% title = "Most Frequently Reported $terms.Bugs" %] [% END%] <head> ! <title>[% title FILTER html %]</title> </head> Index: keywords.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/reports/keywords.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** keywords.html.tmpl 28 Jun 2004 00:43:39 -0000 1.1 --- keywords.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 27,33 **** # caneditkeywords: boolean. True if this user can edit keywords %] ! ! [% PROCESS global/header.html.tmpl ! title = "Bugzilla Keyword Descriptions" %] --- 27,35 ---- # caneditkeywords: boolean. True if this user can edit keywords %] ! ! [% PROCESS global/variables.none.tmpl %] ! ! [% PROCESS global/header.html.tmpl ! title = "$terms.Bugzilla Keyword Descriptions" %] *************** *** 37,49 **** </table> [% END %] ! <table border="1" cellpadding="4" cellspacing="0"> <tr bgcolor="#6666FF"> <th align="left">Name</th> <th align="left">Description</th> ! <th align="left">Bugs</th> </tr> ! [% END %] ! <tr> <th> --- 39,51 ---- </table> [% END %] ! <table border="1" cellpadding="4" cellspacing="0"> <tr bgcolor="#6666FF"> <th align="left">Name</th> <th align="left">Description</th> ! <th align="left">[% terms.Bugs %]</th> </tr> ! [% END %] ! <tr> <th> |