[Openfirst-cvscommit] www/htdocs/bugzilla/list change-columns.html.tmpl,1.1,1.2 edit-multiple.html.t
Brought to you by:
xtimg
Update of /cvsroot/openfirst/www/htdocs/bugzilla/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32743/list Modified Files: change-columns.html.tmpl edit-multiple.html.tmpl list-simple.html.tmpl list.html.tmpl quips.html.tmpl server-push.html.tmpl table.html.tmpl Log Message: Bring templates up to date for Bugzilla 2.18.1 Index: list-simple.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/list-simple.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list-simple.html.tmpl 28 Jun 2004 00:44:16 -0000 1.1 --- list-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 *************** *** 24,32 **** #%] [%############################################################################%] [%# Initialization #%] [%############################################################################%] ! [% DEFAULT title = "Bug List" %] [% title = title FILTER html %] --- 24,34 ---- #%] + [% PROCESS global/variables.none.tmpl %] + [%############################################################################%] [%# Initialization #%] [%############################################################################%] ! [% DEFAULT title = "$terms.Bug List" %] [% title = title FILTER html %] *************** *** 40,43 **** --- 42,46 ---- <head> <title>[% title %]</title> + <base href="[% Param("urlbase") %]"> <link href="css/buglist.css" rel="stylesheet" type="text/css"> </head> *************** *** 45,49 **** <body> [% IF bugs.size == 0 %] ! <h3>Zarro Boogs found.</h3> [% ELSE %] [% PROCESS list/table.html.tmpl %] --- 48,52 ---- <body> [% IF bugs.size == 0 %] ! <h3>[% terms.zeroSearchResults %].</h3> [% ELSE %] [% PROCESS list/table.html.tmpl %] Index: quips.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/quips.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** quips.html.tmpl 28 Jun 2004 00:44:19 -0000 1.1 --- quips.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 *************** *** 21,25 **** [%# INTERFACE: ! # added_quip: string. Defined if the CGI added a quip data before # displaying anything; if defined, its value is that quip. # show_quips: boolean. True if we are showing the entire quip list. --- 21,25 ---- [%# INTERFACE: ! # added_quip: string. Defined if the CGI added a quip data before # displaying anything; if defined, its value is that quip. # show_quips: boolean. True if we are showing the entire quip list. *************** *** 27,32 **** #%] [% PROCESS global/header.html.tmpl ! title = "Bugzilla Quip System" h1 = "Add your own clever headline" %] --- 27,34 ---- #%] + [% PROCESS global/variables.none.tmpl %] + [% PROCESS global/header.html.tmpl ! title = "$terms.Bugzilla Quip System" h1 = "Add your own clever headline" %] *************** *** 36,47 **** <font color="red"> Your quip '<tt>[% added_quip FILTER html %]</tt>' has been added. </font> </p> [% END %] <p> ! Bugzilla will pick a random quip for the headline on each bug list, and ! you can extend the quip list. Type in something clever or funny or boring (but not obscene or offensive, please) and bonk on the button. </p> --- 38,67 ---- <font color="red"> Your quip '<tt>[% added_quip FILTER html %]</tt>' has been added. + [% IF Param("enablequips") == "approved" AND !user.groups.admin %] + It will be used as soon as it gets approved. + [% END %] </font> </p> [% END %] + [% IF deleted_quip %] + <p> + <font color="red"> + The quip '<tt>[% deleted_quip FILTER html %]</tt>' has been deleted. + </font> + </p> + [% END %] + + [% IF approved or unapproved %] + <p>[% approved.size %] quips approved and [% unapproved.size %] quips unapproved</p> + [% END %] + <p> ! [% terms.Bugzilla %] will pick a random quip for the headline on each [% terms.bug %] list, and ! you can extend the quip list. Type in something clever or funny or boring (but not obscene or offensive, please) and bonk on the button. + [% IF Param("enablequips") == "approved" AND !user.groups.admin %] + Note that your quip has to be approved before it is used. + [% END %] </p> *************** *** 55,70 **** [% IF show_quips %] ! <h2> ! Existing quips: ! </h2> ! <ul> ! [% FOREACH quip = quips %] ! <li>[% quip FILTER html %]</li> ! [% END %] ! </ul> [% ELSE %] <p> ! Those who like their wisdom in large doses can ! <a href="quips.cgi?action=show">view the whole quip list</a>. </p> [% END %] --- 75,153 ---- [% IF show_quips %] ! [% IF !UserInGroup('admin') %] ! <h2> ! Existing quips: ! </h2> ! <ul> ! [% FOREACH quipid = quipids %] ! [% NEXT IF NOT quips.$quipid.approved %] ! <li>[% quips.$quipid.quip FILTER html %]</li> ! [% END %] ! </ul> ! [% ELSE %] ! <h2>Edit existing quips:</h2> ! <p> ! <strong>Note:</strong> Only approved quips will be shown. ! If enablequips is set to <q>on</q>, entered quips are automatically ! approved. ! </p> ! <form name="editform" method="post" action="quips.cgi"> ! <input type="hidden" name="action" value="approve"> ! <table border="1"> ! <thead><tr> ! <th>Quip</th> ! <th>Author</th> ! <th>Action</th> ! <th>Approved</th> ! </tr></thead><tbody> ! [% FOREACH quipid = quipids %] ! <tr> ! <td>[% quips.$quipid.quip FILTER html %]</td> ! <td> ! [% userid = quips.$quipid.userid %] ! [% users.$userid FILTER html %] ! [% "Unknown" IF NOT users.$userid %] ! </td> ! <td> ! <a href="quips.cgi?action=delete&quipid=[% quipid FILTER uri%]"> ! Delete ! </a> ! </td> ! <td> ! <input type="checkbox" name="quipid_[% quipid FILTER uri%]" ! id="quipid_[% quipid FILTER uri%]" ! [%- ' checked="checked"' IF quips.$quipid.approved %]> ! </td> ! </tr> ! [% END %] ! </tbody> ! </table> ! <script type="text/javascript" language="JavaScript"><!-- ! var numelements = document.forms.editform.elements.length; ! function SetCheckboxes(value) { ! var item; ! for (var i=0 ; i<numelements ; i++) { ! item = document.forms.editform.elements[i]; ! item.checked = value; ! } ! } ! document.write(' <input type="button" name="uncheck_all" ' ! +'value="Uncheck All" onclick="SetCheckboxes(false);">'); ! document.write(' <input type="button" name="check_all" ' ! +'value="Check All" onclick="SetCheckboxes(true);">'); ! //--></script> ! ! <input type="submit" value="Update"> ! </form> ! <br> ! [% END %] [% ELSE %] <p> ! Those who like their wisdom in large doses can ! <a href="quips.cgi?action=show">view ! [% IF UserInGroup('admin') %] ! and edit ! [% END %] ! the whole quip list</a>. </p> [% END %] Index: table.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/table.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** table.html.tmpl 28 Jun 2004 00:44:19 -0000 1.1 --- 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 *************** *** 32,53 **** # by the browser. #%] [% abbrev = { ! "severity" => { maxlength => 3 , title => "Sev" } , ! "priority" => { maxlength => 3 , title => "Pri" } , ! "platform" => { maxlength => 3 , title => "Plt" } , ! "status" => { maxlength => 4 } , ! "reporter" => { maxlength => 30 , ellipsis => "..." } , ! "owner" => { maxlength => 30 , ellipsis => "..." } , ! "qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } , "resolution" => { maxlength => 4 } , ! "summary" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } , ! "summaryfull" => { wrap => 1 } , "status_whiteboard" => { title => "StatusSummary" , wrap => 1 } , "component" => { maxlength => 8 , title => "Comp" } , "product" => { maxlength => 8 } , "version" => { maxlength => 5 , title => "Vers" } , ! "os" => { maxlength => 4 } , "target_milestone" => { title => "TargetM" } , } %] --- 32,64 ---- # by the browser. #%] + + [% PROCESS "global/field-descs.none.tmpl" %] + [% field_descs.short_short_desc = field_descs.short_desc %] + [% field_descs.assigned_to_realname = field_descs.assigned_to %] + [% field_descs.reporter_realname = field_descs.reporter %] + [% field_descs.qa_contact_realname = field_descs.qa_contact %] + [% abbrev = { ! "bug_severity" => { maxlength => 3 , title => "Sev" } , ! "priority" => { maxlength => 3 , title => "Pri" } , ! "rep_platform" => { maxlength => 3 , title => "Plt" } , ! "bug_status" => { maxlength => 4 } , ! "assigned_to" => { maxlength => 30 , ellipsis => "..." } , ! "assigned_to_realname" => { maxlength => 20 , ellipsis => "..." } , ! "reporter" => { maxlength => 30 , ellipsis => "..." } , ! "reporter_realname" => { maxlength => 20 , ellipsis => "..." } , ! "qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } , ! "qa_contact_realname" => { maxlength => 20 , ellipsis => "..." , title => "QAContact" } , "resolution" => { maxlength => 4 } , ! "short_desc" => { wrap => 1 } , ! "short_short_desc" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } , "status_whiteboard" => { title => "StatusSummary" , wrap => 1 } , "component" => { maxlength => 8 , title => "Comp" } , "product" => { maxlength => 8 } , "version" => { maxlength => 5 , title => "Vers" } , ! "op_sys" => { maxlength => 4 } , "target_milestone" => { title => "TargetM" } , + "percentage_complete" => { format_value => "%d %%" } , } %] *************** *** 55,58 **** --- 66,71 ---- [% qorder = order FILTER url_quote IF order %] + [% PROCESS bug/time.html.tmpl %] + [%############################################################################%] [%# Table Header #%] *************** *** 62,74 **** <table class="bz_buglist" cellspacing="0" cellpadding="4" width="100%"> <colgroup> <col class="bz_id_column"> [% FOREACH id = displaycolumns %] ! <col class="bz_[% id %]_column"> [% END %] </colgroup> <tr align="left"> ! <th colspan="[% splitheader ? 2 : 1 %]"> ! <a href="buglist.cgi?[% urlquerypart FILTER html %]&order=bugs.bug_id">ID</a> </th> --- 75,100 ---- <table class="bz_buglist" cellspacing="0" cellpadding="4" width="100%"> <colgroup> + [% IF dotweak %] + <col class="bz_checkbox_column"> + [% END %] <col class="bz_id_column"> [% FOREACH id = displaycolumns %] ! <col class="bz_[% id FILTER css_class_quote %]_column"> [% END %] </colgroup> <tr align="left"> ! [% IF dotweak %] ! <th> </th> ! [% END %] ! <th colspan="[% splitheader ? 2 : 1 %]" class="first-child"> ! [% IF sorted_by_relevance %] ! ID ! [% ELSE %] ! <a href="buglist.cgi? ! [% urlquerypart FILTER html %]&order=bugs.bug_id ! [%-#%]&query_based_on= ! [% defaultsavename OR searchname FILTER html %]">ID</a> ! [% END %] </th> *************** *** 103,110 **** [% BLOCK columnheader %] <th colspan="[% splitheader ? 2 : 1 %]"> ! <a href="buglist.cgi?[% urlquerypart FILTER html %]&order= ! [% column.name FILTER url_quote FILTER html %] ! [% ",$qorder" FILTER html IF order %]"> ! [%- abbrev.$id.title || column.title -%]</a> </th> [% END %] --- 129,142 ---- [% BLOCK columnheader %] <th colspan="[% splitheader ? 2 : 1 %]"> ! [% IF sorted_by_relevance %] ! [%- abbrev.$id.title || field_descs.$id || column.title -%] ! [% ELSE %] ! <a href="buglist.cgi?[% urlquerypart FILTER html %]&order= ! [% column.name FILTER url_quote FILTER html %] ! [% ",$qorder" FILTER html IF order %] ! [%-#%]&query_based_on= ! [% defaultsavename OR searchname FILTER html %]"> ! [%- abbrev.$id.title || field_descs.$id || column.title -%]</a> ! [% END %] </th> [% END %] *************** *** 116,131 **** [% FOREACH bug = bugs %] ! [% FLUSH IF loop.count() % 10 == 1 %] [%# At the beginning of every hundred bugs in the list, start a new table. %] ! [% IF loop.count() % 100 == 1 %] [% tableheader %] [% END %] ! <tr class="bz_[% bug.severity %] bz_[% bug.priority %] [%+ "bz_secure" IF (bug.groupset && !usebuggroups) %]"> <td> ! [% IF dotweak %]<input type="checkbox" name="id_[% bug.id %]">[% END %] ! <a href="show_bug.cgi?id=[% bug.id %]">[% bug.id %]</a> </td> --- 148,176 ---- [% FOREACH bug = bugs %] ! [% count = loop.count() %] ! [% FLUSH IF count % 10 == 1 %] [%# At the beginning of every hundred bugs in the list, start a new table. %] ! [% IF count % 100 == 1 %] [% tableheader %] [% END %] ! <tr class="bz_[% bug.bug_severity FILTER css_class_quote -%] ! bz_[% bug.priority FILTER css_class_quote -%] ! bz_[% bug.bug_status FILTER css_class_quote -%] ! [%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution -%] ! [%+ "bz_secure" IF bug.isingroups -%] ! [%+ count % 2 == 1 ? "bz_odd" : "bz_even" -%] ! "> ! + [% IF dotweak %] <td> ! <input type="checkbox" name="id_[% bug.bug_id %]"> ! </td> ! [% END %] ! <td class="first-child"> ! <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a> ! <span style="display: none">[%+ '[SEC]' IF bug.secure_mode %]</span> </td> *************** *** 133,137 **** <td> [% '<nobr>' IF NOT abbrev.$column.wrap %] ! [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] [%- '</nobr>' IF NOT abbrev.$column.wrap %] </td> --- 178,190 ---- <td> [% '<nobr>' IF NOT abbrev.$column.wrap %] ! [% IF abbrev.$column.format_value %] ! [%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%] ! [% ELSIF column == 'actual_time' || ! column == 'remaining_time' || ! column == 'estimated_time' %] ! [% PROCESS formattimeunit time_unit=bug.$column %] ! [% ELSE %] ! [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] ! [% END %] [%- '</nobr>' IF NOT abbrev.$column.wrap %] </td> *************** *** 148,150 **** [% END %] - --- 201,202 ---- Index: change-columns.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/change-columns.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** change-columns.html.tmpl 28 Jun 2004 00:44:16 -0000 1.1 --- change-columns.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,8 **** ! <!-- 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 # 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 --- 1,8 ---- ! [%# 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 # 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 *************** *** 20,50 **** #%] [% PROCESS global/header.html.tmpl title = "Change Columns" %] - Check which columns you wish to appear on the list, and then click - on submit. (Cookies are required.) <p> <form action="colchange.cgi"> ! <input type="hidden" name="rememberedquery" value="[% buffer FILTER html %]"> ! [% FOREACH column = masterlist %] ! <input type="checkbox" id="[% column %]" name="column_[% column %]" [% "CHECKED" IF lsearch(collist, column) != -1 %]> ! <label for="[% column %]">[% desc.${column} %]</label><br> ! [% END %] ! </p><p> ! <input id="nosplitheader" type="radio" name="splitheader" value="0" [% "CHECKED" IF ! splitheader %]> ! <label for="nosplitheader">Normal headers (prettier)</label><br> ! <input id="splitheader" type="radio" name="splitheader" value="1" [% "CHECKED" IF splitheader %]> ! <label for="splitheader">Stagger headers (often makes list more compact)</label> ! </p><p> ! <input type="submit" value="Submit"> </form> <form action="colchange.cgi"> ! <input type="hidden" name="rememberedquery" value="[% buffer FILTER html %]"> ! <input type="hidden" name="resetit" value="1"> ! <input type="submit" value="Reset to Bugzilla default"> </form> - </p> [% PROCESS global/footer.html.tmpl %] --- 20,77 ---- #%] + [% PROCESS global/variables.none.tmpl %] + [% PROCESS global/header.html.tmpl title = "Change Columns" %] <p> + Select the columns you wish to appear in your [% terms.bug %] lists. Note that + this feature requires cookies to work. + </p> + + [% PROCESS "global/field-descs.none.tmpl" %] + [% field_descs.short_short_desc = "Summary (first 60 characters)" %] + [% field_descs.short_desc = "Full Summary" %] + [% field_descs.assigned_to_realname = "Assignee Realname" %] + [% field_descs.reporter_realname = "Reporter Realname" %] + [% field_descs.qa_contact_realname = "QA Contact Realname" %] + <form action="colchange.cgi"> ! <input type="hidden" name="rememberedquery" value="[% buffer FILTER html %]"> ! [% FOREACH column = masterlist %] ! <input type="checkbox" id="[% column %]" name="column_[% column %]" ! [% "checked='checked'" IF lsearch(collist, column) != -1 %]> ! <label for="[% column %]"> ! [% (field_descs.${column} || column) FILTER html %] ! </label> ! <br> ! [% END %] ! ! <p> ! <input id="nosplitheader" type="radio" name="splitheader" value="0" ! [% "checked='checked'" IF NOT splitheader %]> ! <label for="nosplitheader"> ! Normal headers (prettier) ! </label> ! <br> ! ! <input id="splitheader" type="radio" name="splitheader" value="1" ! [% "checked='checked'" IF splitheader %]> ! <label for="splitheader"> ! Stagger headers (often makes list more compact) ! </label> ! </p> ! ! <p> ! <input type="submit" value="Change Columns"> ! </p> </form> + <form action="colchange.cgi"> ! <input type="hidden" name="rememberedquery" value="[% buffer FILTER html %]"> ! <input type="hidden" name="resetit" value="1"> ! <input type="submit" value="Reset to [% terms.Bugzilla %] default"> </form> [% PROCESS global/footer.html.tmpl %] Index: edit-multiple.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/edit-multiple.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** edit-multiple.html.tmpl 28 Jun 2004 00:44:16 -0000 1.1 --- edit-multiple.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 *************** *** 20,23 **** --- 20,28 ---- #%] + [% PROCESS global/variables.none.tmpl %] + + [% dontchange = "--do_not_change--" %] + <input type="hidden" name="dontchange" value="[% dontchange FILTER html %]"> + <script type="text/javascript" language="JavaScript"> var numelements = document.forms.changeform.elements.length; *************** *** 36,42 **** <p><font size="-1"> ! To change multiple bugs: <ol> ! <li>Check the bugs you want to change above.</li> <li>Make your changes in the form fields below. If the change you are making requires an explanation, include it in --- 41,47 ---- <p><font size="-1"> ! To change multiple [% terms.bugs %]: <ol> ! <li>Check the [% terms.bugs %] you want to change above.</li> <li>Make your changes in the form fields below. If the change you are making requires an explanation, include it in *************** *** 51,55 **** <th><label for="product">Product:</label></th> <td> ! [% PROCESS selectmenu menuname = "product" menuitems = products %] </td> --- 56,60 ---- <th><label for="product">Product:</label></th> <td> ! [% PROCESS selectmenu menuname = "product" menuitems = products %] </td> *************** *** 57,61 **** <th><label for="version">Version:</label></th> <td> ! [% PROCESS selectmenu menuname = "version" menuitems = versions %] </td> --- 62,66 ---- <th><label for="version">Version:</label></th> <td> ! [% PROCESS selectmenu menuname = "version" menuitems = versions %] </td> *************** *** 66,74 **** <th> <label for="rep_platform"> ! <a href="bug_status.html#rep_platform">Platform</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "rep_platform" menuitems = platforms %] </td> --- 71,79 ---- <th> <label for="rep_platform"> ! <a href="page.cgi?id=fields.html#rep_platform">Platform</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "rep_platform" menuitems = platforms %] </td> *************** *** 76,84 **** <th> <label for="priority"> ! <a href="bug_status.html#priority">Priority</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "priority" menuitems = priorities %] </td> --- 81,89 ---- <th> <label for="priority"> ! <a href="page.cgi?id=fields.html#priority">Priority</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "priority" menuitems = priorities %] </td> *************** *** 89,93 **** <th><label for="component">Component:</label></th> <td> ! [% PROCESS selectmenu menuname = "component" menuitems = components %] </td> --- 94,98 ---- <th><label for="component">Component:</label></th> <td> ! [% PROCESS selectmenu menuname = "component" menuitems = components %] </td> *************** *** 95,116 **** <th> <label for="bug_severity"> ! <a href="bug_status.html#severity">Severity</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "bug_severity" menuitems = severities %] </td> </tr> - <tr> ! <th><label for="target_milestone">Target Milestone:</label></th> ! <td colspan="3"> ! [% PROCESS selectmenu menuname = "target_milestone" ! menuitems = targetmilestones %] ! </td> ! </tr> [% IF Param("useqacontact") %] --- 100,141 ---- <th> <label for="bug_severity"> ! <a href="page.cgi?id=fields.html#bug_severity">Severity</a>: </label> </th> <td> ! [% PROCESS selectmenu menuname = "bug_severity" menuitems = severities %] </td> </tr> ! [% IF Param("usetargetmilestone") %] ! <tr> ! <th><label for="target_milestone">Target Milestone:</label></th> ! <td colspan="3"> ! [% PROCESS selectmenu menuname = "target_milestone" ! menuitems = targetmilestones %] ! </td> ! </tr> ! [% END %] ! [% IF UserInGroup(Param("timetrackinggroup")) %] ! <tr> ! <th><label for="estimated_time">Estimated Hours:</label></th> ! <td> ! <input id="estimated_time" ! name="estimated_time" ! value="[% dontchange FILTER html %]" ! size="6"> ! </td> ! <th><label for="remaining_time">Remaining Hours:</label></th> ! <td> ! <input id="remaining_time" ! name="remaining_time" ! value="[% dontchange FILTER html %]" ! size="6"> ! </td> ! </tr> ! [% END %] [% IF Param("useqacontact") %] *************** *** 118,124 **** <th><label for="qa_contact">QA Contact:</label></th> <td colspan="3"> ! <input id="qa_contact" ! name="qa_contact" ! value="[% dontchange FILTER html %]" size="32"> </td> --- 143,149 ---- <th><label for="qa_contact">QA Contact:</label></th> <td colspan="3"> ! <input id="qa_contact" ! name="qa_contact" ! value="[% dontchange FILTER html %]" size="32"> </td> *************** *** 161,166 **** </table> - <input type="hidden" name="multiupdate" value="Y"> - <label for="comment"><b>Additional Comments:</b></label><br> <textarea id="comment" name="comment" rows="5" cols="80" wrap="hard"></textarea><br> --- 186,189 ---- *************** *** 171,177 **** <table border="1"> <tr> ! <th>Don't<br>change<br>this group<br>restriction</td> ! <th>Remove<br>bugs<br>from this<br>group</td> ! <th>Add<br>bugs<br>to this<br>group</td> <th>Group Name:</td> </tr> --- 194,200 ---- <table border="1"> <tr> ! <th>Don't<br>change<br>this group<br>restriction</td> ! <th>Remove<br>[% terms.bugs %]<br>from this<br>group</td> ! <th>Add<br>[% terms.bugs %]<br>to this<br>group</td> <th>Group Name:</td> </tr> *************** *** 180,191 **** <tr> <td align="center"> ! <input type="radio" name="bit-[% group.bit %]" value="-1" checked="checked"> </td> <td align="center"> ! <input type="radio" name="bit-[% group.bit %]" value="0"> </td> [% IF group.isactive %] <td align="center"> ! <input type="radio" name="bit-[% group.bit %]" value="1"> </td> [% ELSE %] --- 203,214 ---- <tr> <td align="center"> ! <input type="radio" name="bit-[% group.id %]" value="-1" checked="checked"> </td> <td align="center"> ! <input type="radio" name="bit-[% group.id %]" value="0"> </td> [% IF group.isactive %] <td align="center"> ! <input type="radio" name="bit-[% group.id %]" value="1"> </td> [% ELSE %] *************** *** 198,202 **** [% group.description %] [% ELSE %] ! [% group.description FILTER strike %] [% END %] </td> --- 221,225 ---- [% group.description %] [% ELSE %] ! [% group.description FILTER inactive %] [% END %] </td> *************** *** 208,213 **** [% IF foundinactive %] ! <font size="-1">(Note: Bugs may not be added to <strike>inactive ! groups</strike>, only removed.)</font><br> [% END %] --- 231,236 ---- [% IF foundinactive %] ! <font size="-1">(Note: [% terms.Bugs %] may not be added to [% FILTER inactive %]inactive ! groups[% END %], only removed.)</font><br> [% END %] *************** *** 224,240 **** <input id="knob-confirm" type="radio" name="knob" value="confirm"> <label for="knob-confirm"> ! Confirm bugs (change status to <b>NEW</b>) </label><br> [% END %] ! [% knum = knum + 1 %] ! <input id="knob-accept" type="radio" name="knob" value="accept"> ! <label for="knob-accept"> ! Accept bugs (change status to <b>ASSIGNED</b>) ! </label><br> ! ! [%# If all the bugs being changed are open, allow the user to close them. %] [% IF !bugstatuses.containsany(closedstates) %] [% knum = knum + 1 %] <input id="knob-clearresolution" type="radio" name="knob" value="clearresolution"> <label for="knob-clearresolution">Clear the resolution</label><br> --- 247,264 ---- <input id="knob-confirm" type="radio" name="knob" value="confirm"> <label for="knob-confirm"> ! Confirm [% terms.bugs %] (change status to <b>NEW</b>) </label><br> [% END %] ! [%# If all the bugs being changed are open, allow the user to accept them, ! clear their resolution or resolve them. %] [% IF !bugstatuses.containsany(closedstates) %] [% knum = knum + 1 %] + <input id="knob-accept" type="radio" name="knob" value="accept"> + <label for="knob-accept"> + Accept [% terms.bugs %] (change status to <b>ASSIGNED</b>) + </label><br> + + [% knum = knum + 1 %] <input id="knob-clearresolution" type="radio" name="knob" value="clearresolution"> <label for="knob-clearresolution">Clear the resolution</label><br> *************** *** 243,252 **** <input id="knob-resolve" type="radio" name="knob" value="resolve"> <label for="knob-resolve"> ! Resolve bugs, changing <a href="bug_status.html">resolution</a> to </label> <select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true"> [% FOREACH resolution = resolutions %] [% NEXT IF !resolution %] ! <option value="[% resolution FILTER html %]" [% selected IF resolution == "FIXED" %]> [% resolution FILTER html %] </option> --- 267,276 ---- <input id="knob-resolve" type="radio" name="knob" value="resolve"> <label for="knob-resolve"> ! Resolve [% terms.bugs %], changing <a href="page.cgi?id=fields.html#resolution">resolution</a> to </label> <select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true"> [% FOREACH resolution = resolutions %] [% NEXT IF !resolution %] ! <option value="[% resolution FILTER html %]" [% 'selected="selected"' IF resolution == "FIXED" %]> [% resolution FILTER html %] </option> *************** *** 260,264 **** [% knum = knum + 1 %] <input id="knob-reopen" type="radio" name="knob" value="reopen"> ! <label for="knob-reopen">Reopen bugs</label><br> [% END %] --- 284,288 ---- [% knum = knum + 1 %] <input id="knob-reopen" type="radio" name="knob" value="reopen"> ! <label for="knob-reopen">Reopen [% terms.bugs %]</label><br> [% END %] *************** *** 267,284 **** [% knum = knum + 1 %] <input id="knob-verify" type="radio" name="knob" value="verify"> ! <label for="knob-verify">Mark bugs as <b>VERIFIED</b></label><br> ! [% ELSIF bugstatuses.contains('VERIFIED') %] ! [% knum = knum + 1 %] ! <input id="knob-close" type="radio" name="knob" value="close"> ! <label for="knob-close">Mark bugs as <b>CLOSED</b></label><br> [% END %] [% END %] [% knum = knum + 1 %] <input id="knob-reassign" type="radio" name="knob" value="reassign"> ! <label for="knob-reassign"><a href="bug_status.html#assigned_to"> ! Reassign</a> bugs to </label> ! <input name="assigned_to" value="[% user.login FILTER html %]" onchange="document.forms.changeform.knob[[% knum %]].checked = true;" --- 291,310 ---- [% knum = knum + 1 %] <input id="knob-verify" type="radio" name="knob" value="verify"> ! <label for="knob-verify">Mark [% terms.bugs %] as <b>VERIFIED</b></label><br> [% END %] [% END %] + [% IF !bugstatuses.containsany(openstates) AND !bugstatuses.contains('CLOSED') %] + [% knum = knum + 1 %] + <input id="knob-close" type="radio" name="knob" value="close"> + <label for="knob-close">Mark [% terms.bugs %] as <b>CLOSED</b></label><br> + [% END %] + [% knum = knum + 1 %] <input id="knob-reassign" type="radio" name="knob" value="reassign"> ! <label for="knob-reassign"><a href="page.cgi?id=fields.html#assigned_to"> ! Reassign</a> [% terms.bugs %] to </label> ! <input name="assigned_to" value="[% user.login FILTER html %]" onchange="document.forms.changeform.knob[[% knum %]].checked = true;" *************** *** 286,295 **** [% knum = knum + 1 %] ! <input id="knob-reassignbycomponent" ! type="radio" ! name="knob" value="reassignbycomponent"> <label for="knob-reassignbycomponent"> ! Reassign bugs to owner of selected component </label><br> --- 312,321 ---- [% knum = knum + 1 %] ! <input id="knob-reassignbycomponent" ! type="radio" ! name="knob" value="reassignbycomponent"> <label for="knob-reassignbycomponent"> ! Reassign [% terms.bugs %] to owner of selected component </label><br> Index: list.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/list.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list.html.tmpl 28 Jun 2004 00:44:16 -0000 1.1 --- list.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 *************** *** 20,30 **** #%] [%############################################################################%] [%# Template Initialization #%] [%############################################################################%] ! [% DEFAULT title = "Bug List" %] [% style_urls = [ "css/buglist.css" ] %] [% qorder = order FILTER url_quote IF order %] --- 20,43 ---- #%] + [%# INTERFACE: + # searchtype: string. Type of search - either "series", "saved" or undef. + # ... + # defaultsavename: string. The default name for saving the query. + #%] + [%############################################################################%] [%# Template Initialization #%] [%############################################################################%] ! [% PROCESS global/variables.none.tmpl %] ! ! [% title = "$terms.Bug List" %] ! [% IF searchname %] ! [% title = title _ ": " _ searchname %] ! [% END %] ! [% style_urls = [ "css/buglist.css" ] %] [% qorder = order FILTER url_quote IF order %] + [% message = "buglist_sorted_by_relevance" IF sorted_by_relevance %] *************** *** 39,43 **** <div align="center"> ! <b>[% currenttime %]</b><br> [% IF debug %] --- 52,60 ---- <div align="center"> ! [% IF Param('timezone') %] ! <b>[% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]</b><br> ! [% ELSE %] ! <b>[% time2str("%a %b %e %Y %T", currenttime) %]</b><br> ! [% END %] [% IF debug %] *************** *** 45,49 **** [% END %] ! [% IF quip %] <a href="quips.cgi"><i>[% quip FILTER html %]</i></a> [% END %] --- 62,67 ---- [% END %] ! [% IF Param('enablequips') != 'off' %] ! [% DEFAULT quip = "$terms.Bugzilla would like to put a random quip here, but no one has entered any." %] <a href="quips.cgi"><i>[% quip FILTER html %]</i></a> [% END %] *************** *** 53,58 **** [% IF toolong %] <h2> ! This list is too long for Bugzilla's little mind; the ! Next/Prev/First/Last buttons won't appear on individual bugs. </h2> [% END %] --- 71,76 ---- [% IF toolong %] <h2> ! This list is too long for [% terms.Bugzilla %]'s little mind; the ! Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %]. </h2> [% END %] *************** *** 60,64 **** <hr> - [%############################################################################%] [%# Preceding Status Line #%] --- 78,81 ---- *************** *** 66,73 **** [% IF bugs.size > 9 %] ! [% bugs.size %] bugs found. [% END %] - [%############################################################################%] [%# Start of Change Form #%] --- 83,89 ---- [% IF bugs.size > 9 %] ! [% bugs.size %] [%+ terms.bugs %] found. [% END %] [%############################################################################%] [%# Start of Change Form #%] *************** *** 78,82 **** [% END %] - [%############################################################################%] [%# Bug Table #%] --- 94,97 ---- *************** *** 91,112 **** [% IF bugs.size == 0 %] ! Zarro Boogs found. ! <p> ! <a href="query.cgi">Query Page</a> ! <a href="enter_bug.cgi">Enter New Bug</a> ! <a href="query.cgi?[% urlquerypart FILTER html %]">Edit this query</a> ! </p> ! [% ELSIF bugs.size == 1 %] ! One bug found. ! [% ELSE %] ! [% bugs.size %] bugs found. ! [% END %] <br> - [%############################################################################%] [%# Rest of Change Form #%] --- 106,118 ---- [% IF bugs.size == 0 %] ! [% terms.zeroSearchResults %]. [% ELSIF bugs.size == 1 %] ! One [% terms.bug %] found. [% ELSE %] ! [% bugs.size %] [%+ terms.bugs %] found. [% END %] <br> [%############################################################################%] [%# Rest of Change Form #%] *************** *** 114,156 **** [% IF dotweak %] - [% PROCESS "list/edit-multiple.html.tmpl" %] - </form> - <hr> - [% END %] - [%############################################################################%] [%# Navigation Bar #%] [%############################################################################%] ! [% IF bugs.size > 0 %] ! <form method="post" action="long_list.cgi"> ! <input type="hidden" name="buglist" value="[% buglist %]"> ! <input type="submit" value="Long Format"> ! ! <a href="query.cgi">Query Page</a> ! <a href="enter_bug.cgi">Enter New Bug</a> ! <a href="colchange.cgi?[% urlquerypart FILTER html %]">Change Columns</a> ! [% IF bugs.size > 1 && caneditbugs && !dotweak %] ! <a href="buglist.cgi?[% urlquerypart FILTER html %] ! [%- "&order=$qorder" FILTER html IF order %]&tweak=1">Change Several ! Bugs at Once</a> ! ! [% END %] ! [% IF bugowners %] ! <a href="mailto:[% bugowners %]">Send Mail to Bug Owners</a> [% END %] ! ! <a href="query.cgi?[% urlquerypart FILTER html %]">Edit this Query</a> ! ! </form> ! ! [% END %] --- 120,200 ---- [% IF dotweak %] [% PROCESS "list/edit-multiple.html.tmpl" %] </form> <hr> [% END %] [%############################################################################%] [%# Navigation Bar #%] [%############################################################################%] ! <p> ! <table> ! <tr> ! [% IF bugs.size > 0 %] ! <td valign="middle"> ! <form method="post" action="long_list.cgi"> ! <input type="hidden" name="buglist" value="[% buglist %]"> ! <input type="submit" value="Long Format"> ! </form> ! </td> ! ! <td> </td> ! ! <td valign="middle"> ! <a href="buglist.cgi? ! [% urlquerypart FILTER html %]&ctype=csv">CSV</a> | ! <a href="buglist.cgi? ! [% urlquerypart FILTER html %]&ctype=ics">iCalendar</a> | ! <a href="colchange.cgi? ! [% urlquerypart FILTER html %]">Change Columns</a> | ! [% IF bugs.size > 1 && caneditbugs && !dotweak %] ! <a href="buglist.cgi?[% urlquerypart FILTER html %] ! [%- "&order=$qorder" FILTER html IF order %]&tweak=1" ! >Change Several [% terms.Bugs %] at Once</a> ! | ! [% END %] ! [% IF bugowners %] ! <a href="mailto: ! [% bugowners FILTER html %]">Send Mail to [% terms.Bug %] Owners</a> | ! [% END %] ! </td> [% END %] ! ! <td valign="middle"> ! [% editqueryname = searchname OR defaultsavename OR '' %] ! <a href="query.cgi?[% urlquerypart FILTER html %] ! [% IF editqueryname != '' %]&known_name= ! [% editqueryname FILTER url_quote %] ! [% END %]">Edit Search</a> ! </td> ! ! [% IF searchtype == "saved" %] ! <td valign="middle" nowrap="nowrap"> ! | ! <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= ! [% searchname FILTER url_quote %]">Forget Search ' ! [% searchname FILTER html %]'</a> ! </td> ! [% ELSE %] ! <td> </td> ! ! <td valign="middle"> ! <form method="get" action="buglist.cgi"> ! <input type="submit" value="Remember search"> as ! <input type="hidden" name="newquery" ! value="[% urlquerypart FILTER html %]"> ! <input type="hidden" name="cmdtype" value="doit"> ! <input type="hidden" name="remtype" value="asnamed"> ! <input type="text" name="newqueryname" size="20" ! value="[% defaultsavename FILTER html %]"> ! </form> ! </td> ! [% END %] ! </tr> ! </table> ! </p> Index: server-push.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/list/server-push.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** server-push.html.tmpl 28 Jun 2004 00:44:19 -0000 1.1 --- server-push.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 *************** *** 21,31 **** [%# INTERFACE: ! # debug: boolean. True if we want the query displayed while we wait. # query: string. The SQL query which makes the buglist. #%] ! <html> <head> ! <title>Bugzilla is pondering your query</title> </head> <body> --- 21,33 ---- [%# INTERFACE: ! # debug: boolean. True if we want the search displayed while we wait. # query: string. The SQL query which makes the buglist. #%] ! ! [% PROCESS global/variables.none.tmpl %] ! <html> <head> ! <title>[% terms.Bugzilla %] is pondering your search</title> </head> <body> |