diff options
Diffstat (limited to 'template/default/show')
-rw-r--r-- | template/default/show/activity.html.tmpl | 91 | ||||
-rw-r--r-- | template/default/show/bug-activity.html.tmpl | 43 | ||||
-rw-r--r-- | template/default/show/choose_bug.html.tmpl | 36 | ||||
-rw-r--r-- | template/default/show/choose_xml.html.tmpl | 47 | ||||
-rw-r--r-- | template/default/show/comments.tmpl | 54 | ||||
-rw-r--r-- | template/default/show/dependency-graph.html.tmpl | 98 | ||||
-rw-r--r-- | template/default/show/dependency-tree.html.tmpl | 209 | ||||
-rw-r--r-- | template/default/show/multiple.tmpl | 156 | ||||
-rw-r--r-- | template/default/show/navigate.html.tmpl | 54 | ||||
-rw-r--r-- | template/default/show/show_bug.html.tmpl | 540 |
10 files changed, 0 insertions, 1328 deletions
diff --git a/template/default/show/activity.html.tmpl b/template/default/show/activity.html.tmpl deleted file mode 100644 index 43529bd23..000000000 --- a/template/default/show/activity.html.tmpl +++ /dev/null @@ -1,91 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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: - # operations: array of hashes. May be empty. Each has has three members: - # who: string. who performed the operation - # when: string. when they performed it - # changes: hash. Details of what they changed. This hash has three - # compulsory and one optional member: - # field: string. The name of the field - # removed: string. What was removed from the field - # added: string. What was added to the field - # attach_id: integer. If the change was adding an attachment, its id. - # incomplete_data: boolean. True if some of the data is incomplete (because - # it was affected by an old Bugzilla bug.) - #%] - -[% IF incomplete_data %] - <p> - There used to be a bug Bugzilla which caused activity data - to be lost if there was a large number of cc's or dependencies. That - has been fixed, however, there was some data already lost on this bug - that could not be regenerated. The changes that the script could not - reliably determine are prefixed by '?'. - </p> -[% END %] - -[% IF operations.size > 0 %] - <table border cellpadding="4"> - <tr> - <th>Who</th> - <th>When</th> - <th>What</th> - <th>Removed</th> - <th>Added</th> - </tr> - - [% FOREACH operation = operations %] - <tr> - <td rowspan="[% operation.changes.size %]" valign="top"> - [% operation.who %] - </td> - <td rowspan="[% operation.changes.size %]" valign="top"> - [% operation.when %] - </td> - [% FOREACH change = operation.changes %] - [% "</tr><tr>" IF loop.index > 0 %] - <td> - [% IF change.attachid %] - <a href="attachment.cgi?id=[% change.attachid %]&action=view"> - Attachment #[% change.attachid %]</a> - [% END %] - [% change.field %] - </td> - <td> - [% IF change.removed %] - [% change.removed FILTER html %] - [% ELSE %] - - [% END %] - </td> - <td> - [% IF change.added %] - [% change.added FILTER html %] - [% ELSE %] - - [% END %] - </td> - [% END %] - </tr> - [% END %] - </table> -[% END %] diff --git a/template/default/show/bug-activity.html.tmpl b/template/default/show/bug-activity.html.tmpl deleted file mode 100644 index 387ba6d6c..000000000 --- a/template/default/show/bug-activity.html.tmpl +++ /dev/null @@ -1,43 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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: - # bug_id: integer. The bug ID. - # - # This template also needs to be called with the interface to the - # activity.html.tmpl template fulfilled. - #%] - -[% INCLUDE global/header - title = "Changes made to bug $bug_id" - h1 = "Activity log" - h2 = "Bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>" - %] - -<br> - -[% INCLUDE show/activity.html.tmpl %] - -<p> - <a href="show_bug.cgi?id=[% bug_id %]">Back to bug [% bug_id %]</a> -</p> - -[% INCLUDE global/footer %] diff --git a/template/default/show/choose_bug.html.tmpl b/template/default/show/choose_bug.html.tmpl deleted file mode 100644 index b776ff255..000000000 --- a/template/default/show/choose_bug.html.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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> - #%] - -[% UNLESS header_done %] - [% INCLUDE global/header - title = "Search by bug number" - %] -[% END %] - -<form method="get" action="show_bug.cgi"> - <p> - You may find a single bug by entering its bug id here: - <input name="id" size="6"> - <input type="submit" value="Show Me This Bug"> - </p> -</form> - -[% INCLUDE global/footer %] diff --git a/template/default/show/choose_xml.html.tmpl b/template/default/show/choose_xml.html.tmpl deleted file mode 100644 index 4456534f5..000000000 --- a/template/default/show/choose_xml.html.tmpl +++ /dev/null @@ -1,47 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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> - #%] - -[% INCLUDE global/header - title = "Display bugs as XML" - %] - -<form method="get" action="xml.cgi"> - <table> - <tr> - <td> - Display bugs as XML by entering a list of bug numbers here: - </td> - <td> - <input name="id" size="30" /> - <input type="submit" value="Display as XML" /> - </td> - </tr> - - <tr> - <td> </td> - <td> - (e.g. 1000, 2467, 852) - </td> - </tr> - </table> -</form> - -[% INCLUDE global/footer %] diff --git a/template/default/show/comments.tmpl b/template/default/show/comments.tmpl deleted file mode 100644 index 27177486e..000000000 --- a/template/default/show/comments.tmpl +++ /dev/null @@ -1,54 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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> - #%] - -[% DEFAULT start_at = 0 %] -[% count = 0 %] -[% FOREACH comment = comments %] - [% IF count >= start_at %] - [% PROCESS a_comment %] - [% END %] - - [% count = count + 1 %] -[% END %] - - -[%############################################################################%] -[%# Block for individual comments #%] -[%############################################################################%] - -[% BLOCK a_comment %] - [% IF count > 0 %] - <br> - <i>------- Additional Comment - <a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From - <a href="mailto:[% comment.email FILTER html %]">[% comment.name FILTER html %]</a> - [%+ comment.time %] ------- - </i> - [% END %] - - <br> -[%# Don't indent the <pre> block, since then the spaces are displayed in the - # generated HTML - #%] -<pre> - [%- quoteUrls(comment.body) -%] -</pre> -[% END %] diff --git a/template/default/show/dependency-graph.html.tmpl b/template/default/show/dependency-graph.html.tmpl deleted file mode 100644 index fff5f1b4d..000000000 --- a/template/default/show/dependency-graph.html.tmpl +++ /dev/null @@ -1,98 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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: - # bug_id: integer. The number of the bug(s). - # multiple_bugs: boolean. True if bug_id contains > 1 bug number. - # doall: boolean. True if we are displaying every bug in the database. - # showsummary: boolean. True if we are showing bug summaries. - # rankdir: string. "TB" if we are ranking top-to-bottom, - "LR" if left-to-right. - # image_url: string. The URL of the graphic showing the dependencies. - # map_url: string. The URL of the map file for the image. - #%] - -[% title = "Dependency Graph" - h1 = title - %] - -[% IF NOT multiple_bugs %] - [% title = "$title for bug $bug_id" - h1 = "$h1 for bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>" - %] -[% END %] - -[% INCLUDE global/header %] - -<p> - Green circles represent open bugs. -</p> - -<a href="[% map_url %]"> - <img src="[% image_url %]" ismap> -</a> - -<hr> - -<form> - <table> - <tr> - <td> - Bug numbers: - <input name="id" value="[% bug_id %]"> - </td> - </tr> - - <tr> - <td> - <input type="checkbox" name="doall" - [% " checked" IF doall %]> - Show <b>every</b> bug in the system with dependencies - </td> - </tr> - - <tr> - <td colspan="3"> - <input type="checkbox" name="showsummary" - [% " checked" IF showsummary %]> - Show the summaries of all displayed bugs - </td> - </tr> - - <tr> - <td colspan="3"> - <select name="rankdir"> - <option value="TB" - [% " selected" IF rankdir == "TB" %]> - Orient top-to-bottom - </option> - <option value="LR" - [% " selected" IF rankdir == "LR" %]> - Orient left-to-right - </option> - </select> - </td> - </tr> - </table> - <input type="submit" value="Change Parameters"> -</form> - -[% INCLUDE global/footer %] diff --git a/template/default/show/dependency-tree.html.tmpl b/template/default/show/dependency-tree.html.tmpl deleted file mode 100644 index fb6163b24..000000000 --- a/template/default/show/dependency-tree.html.tmpl +++ /dev/null @@ -1,209 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Tobias Burnus <burnus@net-b.de> - # Ville Skyttä <ville.skytta@iki.fi> - # Myk Melez <myk@mozilla.org> - #%] - -[% PROCESS global/header - title = "Dependency tree for Bug $bugid" - h1 = "Dependency tree for bug <a href=\"show_bug.cgi?id=$bugid\">$bugid</a>" - style = "strike { background-color: #d9d9d9; color: #000000; }" -%] - -[% PROCESS depthControlToolbar %] - -[%# Display the tree of bugs that this bug depends on. %] -<h3>Bugs that bug <a href="show_bug.cgi?id=[% bugid %]">[% bugid %]</a> depends on -[% IF dependson_ids.size > 0 %] - (<a href="buglist.cgi?bug_id=[% dependson_ids.join(",") %]">view as bug list</a> - [% IF canedit && dependson_ids.size > 1 %] - | <a href="buglist.cgi?bug_id=[% dependson_ids.join(",") %]&tweak=1">change several</a> - [% END %]) - [% IF maxdepth || hide_resolved %] - <small><b> - (Only [% "open" IF hide_resolved %] bugs - [% " whose depth is less than $maxdepth" IF maxdepth %] - will be shown) - </b></small> - [% END %] - </h3> - [% INCLUDE display_tree tree=dependson_tree bug_id=bugid %] -[% ELSE %] - </h3> - <p>None</p> -[% END %] - -[%# Display the tree of bugs that this bug blocks. %] -<h3>Bugs that bug <a href="show_bug.cgi?id=[% bugid %]">[% bugid %]</a> blocks -[% IF blocked_ids.size > 0 %] - (<a href="buglist.cgi?bug_id=[% blocked_ids.join(",") %]">view as bug list</a> - [% IF canedit && blocked_ids.size > 1 %] - | <a href="buglist.cgi?bug_id=[% blocked_ids.join(",") %]&tweak=1">change several</a> - [% END %]) - [% IF maxdepth || hide_resolved %] - <small><b> - (Only [% "open" IF hide_resolved %] bugs - [% " whose depth is less than $maxdepth" IF maxdepth %] - will be shown) - </b></small> - [% END %] - </h3> - [% INCLUDE display_tree tree=blocked_tree bug_id=bugid %] -[% ELSE %] - </h3> - <p>None</p> -[% END %] - -[% PROCESS depthControlToolbar %] - -[% PROCESS global/footer %] - - -[%###########################################################################%] -[%# Block to display a tree #%] -[%###########################################################################%] - -[% BLOCK display_tree %] -<ul> - [% FOREACH dep_id = tree.$bug_id.dependencies %] - [% dep = tree.$dep_id %] - <li> - [% "<strike>" IF !dep.open %] - <a href="show_bug.cgi?id=[% dep_id %]">[% dep_id %] - [[% IF dep.milestone %][% dep.milestone FILTER html %], [% END %] - [% dep.assignee_email FILTER html %]] - - [% IF dep.seen %] - <i><This bug appears elsewhere in this tree></i></a> - [% ELSE %] - [% dep.summary FILTER html %].</a> - [% END %] - [% "</strike>" IF !dep.open %] - [% INCLUDE display_tree bug_id=dep_id - IF dep.dependencies.size > 0 && !dep.seen %] - </li> - [% dep.seen = 1 %] - [% END %] -</ul> -[% END %] - -[%###########################################################################%] -[%# Block for depth control toolbar #%] -[%###########################################################################%] - -[% BLOCK depthControlToolbar %] - <table cellpadding="3" border="0" cellspacing="0" bgcolor="#d0d0d0"> - <tr> - [%# Hide/show resolved button - Swaps text depending on the state of hide_resolved %] - <td align="center"> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - <input name="id" type="hidden" value="[% bugid %]"> - [% IF maxdepth %] - <input name="maxdepth" type="hidden" value="[% maxdepth %]"> - [% END %] - <input type="hidden" name="hide_resolved" value="[% hide_resolved ? 0 : 1 %]"> - <input type="submit" value="[% hide_resolved ? "Show" : "Hide" %] Resolved"> - </form> - </td> - - <td> - Max Depth: - </td> - - <td> - - </td> - - <td> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - [%# set to one form %] - <input type="submit" value=" 1 " [% - realdepth < 2 || maxdepth == 1 ? "disabled" : "" - %]> - <input name="id" type="hidden" value="[% bugid %]"> - <input name="maxdepth" type="hidden" value="1"> - <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - </form> - </td> - - <td> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - [%# Minus one form - Allow subtracting only when realdepth and maxdepth > 1 %] - <input name="id" type="hidden" value="[% bugid %]"> - <input name="maxdepth" type="hidden" value="[% - maxdepth == 1 ? 1 - : ( maxdepth ? maxdepth - 1 : realdepth - 1 ) - %]"> - <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - <input type="submit" value=" < " [% - realdepth < 2 || ( maxdepth && maxdepth < 2 ) ? "disabled" : "" - %]> - </form> - </td> - - <td> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - [%# Limit entry form: the button can not do anything when total depth - is less than two, so disable it %] - <input name="maxdepth" size="4" maxlength="4" value="[% - maxdepth > 0 ? maxdepth : "" - %]"> - <input name="id" type="hidden" value="[% bugid %]"> - <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - <noscript> - <input type="submit" value="Change" [% realdepth < 2 ? "disabled" : "" %]> - </noscript> - </form> - </td> - - <td> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - [%# plus one form - Disable button if total depth < 2, or if depth set to unlimited %] - <input name="id" type="hidden" value="[% bugid %]"> - [% IF maxdepth %] - <input name="maxdepth" type="hidden" value="[% maxdepth + 1 %]"> - [% END %] - <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - <input type="submit" value=" > " [% - realdepth < 2 || ! maxdepth || maxdepth >= realdepth ? - "disabled" : "" - %]> - </form> - </td> - - <td> - <form method="get" action="showdependencytree.cgi" - style="display: inline; margin: 0px;"> - [%# Unlimited button %] - <input name="id" type="hidden" value="[% bugid %]"> - <input name="hide_resolved" type="hidden" value="[% hide_resolved %]"> - <input type="submit" value=" Unlimited "> - </form> - </td> - </tr> -</table> -[% END %] diff --git a/template/default/show/multiple.tmpl b/template/default/show/multiple.tmpl deleted file mode 100644 index 8313323aa..000000000 --- a/template/default/show/multiple.tmpl +++ /dev/null @@ -1,156 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Terry Weissman <terry@mozilla.org> - # Gervase Markham <gerv@gerv.net> - #%] - -[% INCLUDE global/header - title = "Full Text Bug Listing" -%] - -[% IF bugs.first %] - [% FOREACH bug = bugs %] - [% PROCESS bug_display %] - [% END %] -[% ELSE %] - <p> - You'd have more luck if you gave me some bug numbers. - </p> -[% END %] - -[% INCLUDE global/footer %] - - -[%###########################################################################%] -[%# Block for an individual bug #%] -[%###########################################################################%] - -[% BLOCK bug_display %] - <img src="1x1.gif" width="1" height="80" align="left"> - <div align="center"> - <b> - <font ="+3">Bug [% bug.bug_id %] - [% bug.short_desc FILTER html %]</font> - </b> - </div> - - <table width="100%"> - <tr> - <td> - <b>Bug#:</b> - <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a> - </td> - [% PROCESS cell attr = { description => "Product", - name => "product" } %] - [% PROCESS cell attr = { description => "Version", - name => "version" } %] - [% PROCESS cell attr = { description => "Platform", - name => "rep_platform" } %] - </tr> - - <tr> - [% PROCESS cell attr = { description => "OS/Version", - name => "op_sys" } %] - [% PROCESS cell attr = { description => "Status", - name => "bug_status" } %] - [% PROCESS cell attr = { description => "Severity", - name => "bug_severity" } %] - [% PROCESS cell attr = { description => "Priority", - name => "priority" } %] - </tr> - - <tr> - [% PROCESS cell attr = { description => "Resolution", - name => "resolution" } %] - [% PROCESS cell attr = { description => "Assigned To", - name => "assigned_to" } %] - [% PROCESS cell attr = { description => "Reported By", - name => "reporter" } %] - [% IF Param('useqacontact') %] - [% PROCESS cell attr = { description => "QA Contact", - name => "qa_contact" } %] - [% END %] - </tr> - - <tr> - <td colspan="2"> - <b>Component:</b> - [% bug.component %] - </td> - - <td colspan="2"> - [% IF Param('usetargetmilestone') %] - <b>Target Milestone:</b> - [% bug.target_milestone FILTER html %] - [% END %] - </td> - </tr> - - <tr> - <td colspan="4"> - <b>URL:</b> - <A HREF="[% bug.bug_file_loc %]">[% bug.bug_file_loc FILTER html %]</a> - </tr> - - <tr> - <td colspan="4"> - <b>Summary:</b> [% bug.short_desc FILTER html %] - </td> - </tr> - - [% IF use_keywords %] - <tr> - <td colspan="4"> - <b>Keywords: </b> [% bug.keywords FILTER html %] - </td> - </tr> - [% END %] - - [% IF Param("usestatuswhiteboard") %] - <tr> - <td colspan="4"> - <b>Status Whiteboard:</b> - [% bug.status_whiteboard FILTER html %] - </td> - </tr> - [% END %] - - <tr> - <td colspan="4"> - <b>Description:</b> - </td> - </tr> - </table> - - [% PROCESS show/comments.tmpl - comments = bug.comments %] - - <hr> -[% END %] - - -[%###########################################################################%] -[%# Block for standard table cells #%] -[%###########################################################################%] - -[% BLOCK cell %] - <td> - <b>[% attr.description%]:</b> - [% bug.${attr.name} FILTER html %] - </td> -[% END %] diff --git a/template/default/show/navigate.html.tmpl b/template/default/show/navigate.html.tmpl deleted file mode 100644 index 3713e0a0d..000000000 --- a/template/default/show/navigate.html.tmpl +++ /dev/null @@ -1,54 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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> - #%] - -[% IF bug_list.size > 0 %] - [% this_bug_idx = lsearch(bug_list, bug.bug_id) %] - <b>Bug List:</b> - [% IF this_bug_idx != -1 %] - ([% this_bug_idx + 1 %] of [% bug_list.size %]) - [% END %] - - <a href="show_bug.cgi?id=[% bug_list.first %]">First</a> - <a href="show_bug.cgi?id=[% bug_list.last %]">Last</a> - - [% IF this_bug_idx != -1 %] - [% IF this_bug_idx > 0 %] - [% prev_bug = this_bug_idx - 1 %] - <a href="show_bug.cgi?id=[% bug_list.$prev_bug %]">Prev</a> - [% ELSE %] - <i><font color="#777777">Prev</font></i> - [% END %] - - [% IF this_bug_idx + 1 < bug_list.size %] - [% next_bug = this_bug_idx + 1 %] - <a href="show_bug.cgi?id=[% bug_list.$next_bug %]">Next</a> - [% ELSE %] - <i><font color="#777777">Next</font></i> - [% END %] - [% ELSE %] - (This bug is not in your list) - [% END %] - - <a href="buglist.cgi?regetlastlist=1">Show list</a> -[% END %] - - <a href="query.cgi">Query page</a> - <a href="enter_bug.cgi">Enter new bug</a> diff --git a/template/default/show/show_bug.html.tmpl b/template/default/show/show_bug.html.tmpl deleted file mode 100644 index 9b77c23a2..000000000 --- a/template/default/show/show_bug.html.tmpl +++ /dev/null @@ -1,540 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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> - #%] - -[% filtered_desc = bug.short_desc FILTER html %] -[% UNLESS header_done %] - [% INCLUDE global/header - title = "Bug $bug.bug_id - $bug.short_desc" - h1 = "Bugzilla Bug $bug.bug_id" - h2 = filtered_desc - extra = navigation_links() - %] -[% END %] - -[% PROCESS show/navigate.html.tmpl %] - -<hr> - -<form name="changeform" method="post" action="process_bug.cgi"> - - <input type="hidden" name="delta_ts" value="[% bug.delta_ts %]"> - <input type="hidden" name="longdesclength" value="[% bug.longdesclength %]"> - <input type="hidden" name="id" value="[% bug.bug_id %]"> - -[%# *** Platform Reporter Product OS AddCC *** %] - - <table cellspacing="1" cellpadding="1" border="0"> - <tr> - <td align="right"> - <b>Bug#:</b> - </td> - <td> - <a href="[% Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]"> - [% bug.bug_id %]</a> - </td> - - <td> </td> - - <td align="right"> - <b>Platform:</b> - </td> - [% PROCESS select selname = "rep_platform" %] - - <td align="right"> - <b>Reporter:</b> - </td> - <td> - [% bug.reporter FILTER html %] - </td> - </tr> - - <tr> - <td align="right"> - <b>Product:</b> - </td> - [% PROCESS select selname => "product" %] - - <td align="right"> - <b>OS:</b> - </td> - [% PROCESS select selname => "op_sys" %] - - <td align="right"> - <b>Add CC:</b> - </td> - <td> - <input name="newcc" size="30" value=""> - </td> - </tr> - -[%# *** Component Version CC Priority Severity AssignedTo Milestone *** %] - - <tr> - <td align="right"> - <b> - <a href="describecomponents.cgi?product=[% bug.product FILTER uri %]"> - Component</a>: - </b> - </td> - <td> - <select name="component"> - [% FOREACH x = component_ %] - <option value="[% x FILTER html %]" - [% " selected" IF x == bug.component %]>[% x FILTER html %] - </option> - [% END %] - </select> - </td> - - <td> </td> - - <td align="right"> - <b>Version:</b> - </td> - [% PROCESS select selname => "version" %] - - <td rowspan="4" align="right" valign="top"> - <b>CC:</b> - </td> - <td rowspan="4" valign="top"> - [% IF bug.cc %] - <select name="cc" multiple size="5"> - [% FOREACH c = bug.cc %] - <option value="[% c FILTER html %]">[% c FILTER html %]</option> - [% END %] - </select> - <br> - <input type="checkbox" name="removecc">Remove selected CCs - <br> - [% ELSE %] - <input type="hidden" name="cc" value=""> - [% END %] - </td> - </tr> - - <tr> - <td align="right"> - <b> - <a href="bug_status.html">Status</a>: - </b> - </td> - <td>[% bug.bug_status FILTER html %]</td> - <td> </td> - - <td align="right"> - <b><a href="bug_status.html#priority">Priority</a>:</b> - </td> - [% PROCESS select selname => "priority" %] - </tr> - - <tr> - <td align="right"> - <b> - <a href="bug_status.html">Resolution</a>: - </b> - </td> - <td>[% bug.resolution FILTER html %]</td> - <td> </td> - - <td align="right"> - <b><a href="bug_status.html#severity">Severity</a>:</b> - </td> - [% PROCESS select selname = "bug_severity" %] - - </tr> - - <tr> - <td align="right"> - <b> - <a href="bug_status.html#assigned_to">Assigned To</a>: - </b> - </td> - <td>[% bug.assigned_to FILTER html %]</td> - <td> </td> - - [% IF Param("usetargetmilestone") && bug.target_milestone %] - <td align="right"> - <b> - <a href="[% bug.milestoneurl FILTER uri %]">Target Milestone</a>: - </b> - </td> - [% PROCESS select selname = "target_milestone" %] - [% ELSE %] - <td colspan="3"> </td> - [% END %] - </tr> - -[%# *** QAContact URL Summary Whiteboard Keywords *** %] - - [% IF Param('useqacontact') %] - <tr> - <td align="right"> - <b>QA Contact:</b> - </td> - <td colspan="7"> - <input name="qa_contact" - value="[% bug.qa_contact FILTER html %]" size="60"> - </td> - </tr> - [% END %] - - <tr> - <td align="right"> - <b> - [% IF bug.bug_file_loc %] - <a href="[% bug.bug_file_loc FILTER uri %]">URL:</a> - [% ELSE %] - URL: - [% END %] - </b> - </td> - <td colspan="7"> - <input name="bug_file_loc" - value="[% bug.bug_file_loc FILTER html %]" size="60"> - </td> - </tr> - - <tr> - <td align="right"> - <b>Summary:</b> - </td> - <td colspan="7"> - <input name="short_desc" - value="[% bug.short_desc FILTER html %]" size="60"> - </td> - </tr> - - [% IF Param('usestatuswhiteboard') %] - <tr> - <td align="right"> - <b>Status Whiteboard:</b> - </td> - <td colspan="7"> - <input name="status_whiteboard" - value="[% bug.status_whiteboard FILTER html %]" size="60"> - </td> - </tr> - [% END %] - - [% IF use_keywords %] - <tr> - <td align="right"> - <b> - <a href="describekeywords.cgi">Keywords:</a> - </b> - <td colspan="7"> - <input name="keywords" - value="[% bug.keywords.join(', ') FILTER html %]" size="60"> - </td> - </tr> - [% END %] - </table> - -[%# *** Attachments *** %] - - [% INCLUDE attachment/list.atml - attachments = bug.attachments - bugid = bug.bug_id %] - -[%# *** Dependencies Votes *** %] - - [% IF Param('usedependencies') %] - <table> - <tr> - [% PROCESS dependencies - dep = { title => "depends on", fieldname => "dependson" } %] - <td rowspan="2"> - <a href="showdependencytree.cgi?id=[% bug.bug_id %]">Show - dependency tree</a> - - [% IF Param('webdotbase') %] - <br> - <a href="showdependencygraph.cgi?id=[% bug.bug_id %]">Show - dependency graph</a> - [% END %] - </td> - </tr> - - <tr> - [% PROCESS dependencies - dep = { title => "blocks", fieldname => "blocked" } %] - </tr> - </table> - [% END %] - - [% IF use_votes %] - <table> - <tr> - <th> - <a href="votehelp.html">Votes:</a> - </th> - <td> - [% bug.votes %] - <a href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]">Show - votes for this bug</a> - <a href="votes.cgi?action=show_user&bug_id=[% bug.bug_id %]">Vote - for this bug</a> - </td> - </tr> - </table> - [% END %] - -[%# *** Comments Groups *** %] - - <br> - <b>Additional Comments:</b> - <br> - <textarea wrap="hard" name="comment" rows="10" cols="80" - accesskey="c"></textarea> - <br> - - [% IF groups.size > 0 %] - <br> - <b>Only users in the selected groups can view this bug:</b> - <br> - <font size="-1">(Unchecking all boxes makes this a public bug.)</font> - <br> - <br> - - [% FOREACH group = groups %] - - <input type="checkbox" name="bit-[% group.bit %]" value="1" - [% " checked='checked'" IF group.ison %] - [% " disabled='disabled'" IF NOT group.ingroup %]> - [% group.description %] - <br> - [% END %] - - [% IF NOT user.inallgroups %] - <b> - Only members of a group can change the visibility of a bug for - that group - </b> - <br> - [% END %] - - [% IF bug.inagroup %] - <p> - <b>But users in the roles selected below can always view this bug:</b> - <br> - <small> - (The assignee - [% IF (Param('useqacontact')) %] - and QA contact - [% END %] - can always see a bug, and this section does not take effect unless - the bug is restricted to at least one group.) - </small> - </p> - - <p> - <input type="checkbox" name="reporter_accessible" value="1" - [% " checked" IF bug.reporter_accessible %]>Reporter - <input type="checkbox" name="cclist_accessible" value="1" - [% " checked" IF bug.cclist_accessible %]>CC List - </p> - [% END %] - [% END %] - -[%# *** Knob *** %] - - <br> - <input type="radio" name="knob" value="none" checked> - Leave as <b>[% bug.bug_status FILTER html %] - [% bug.resolution FILTER html %]</b> - <br> - - [% knum = 1 %] - - [% IF bug.bug_status == "UNCONFIRMED" && - (user.canedit || user.canconfirm) %] - <input type="radio" name="knob" value="confirm"> - Confirm bug (change status to <b>NEW</b>) - <br> - [% knum = knum + 1 %] - [% END %] - - [% IF user.canedit %] - [% IF bug.isopened %] - [% IF bug.bug_status != "ASSIGNED" %] - <input type="radio" name="knob" value="accept"> - Accept bug ( - [% "confirm bug, " IF bug.isunconfirmed %]change - status to <b>ASSIGNED</b>) - <br> - [% knum = knum + 1 %] - [% END %] - - [% IF bug.resolution %] - <input type="radio" name="knob" value="clearresolution"> - Clear the resolution (remove the current resolution of - <b>[% bug.resolution FILTER html %]</b>)<br> - [% knum = knum + 1 %] - [% END %] - - <input type="radio" name="knob" value="resolve"> - Resolve bug, changing <a href="bug_status.html">resolution</a> to - <select name="resolution" - onchange="document.changeform.knob[[% knum %]].checked=true"> - [% FOREACH r = resolution %] - <option value="[% r FILTER html %]">[% r FILTER html %]</option> - [% END %] - </select> - <br> - [% knum = knum + 1 %] - - <input type="radio" name="knob" value="duplicate"> - Resolve bug, mark it as duplicate of bug # - <input name="dup_id" size="6" - onchange="if (this.value != '') - {document.changeform.knob[[% knum %]].checked=true}"> - <br> - [% knum = knum + 1 %] - - <input type="radio" name="knob" value="reassign"> - <a href="bug_status.html#assigned_to">Reassign</A> bug to - <input name="assigned_to" size="32" - onchange="if ((this.value != '[% bug.assigned_to_email FILTER js %]') && - (this.value != '')) { - document.changeform.knob[[% knum %]].checked=true; - }" - value="[% bug.assigned_to_email FILTER html %]"> - <br> - [% IF bug.isunconfirmed %] - <input type="checkbox" name="andconfirm"> - and confirm bug (change status to <b>NEW</b>) - <br> - [% END %] - [% knum = knum + 1 %] - - <input type="radio" name="knob" value="reassignbycomponent"> - Reassign bug to owner - [% "and QA contact" IF useqacontact %] - of selected component - <br> - [% IF bug.isunconfirmed %] - <input type="checkbox" name="andconfirm"> - and confirm bug (change status to <b>NEW</b>) - <br> - [% END %] - [% knum = knum + 1 %] - [% ELSE %] - [% IF bug.resolution != "MOVED" || - (bug.resolution == "MOVED" && user.canmove) %] - <input type="radio" name="knob" value="reopen"> Reopen bug - <br> - [% knum = knum + 1 %] - [% END %] - [% IF bug.bug_status == "RESOLVED" %] - <input type="radio" name="knob" value="verify"> - Mark bug as <b>VERIFIED</b><br> - [% knum = knum + 1 %] - [% END %] - [% IF bug.bug_status != "CLOSED" %] - <input type="radio" name="knob" value="close"> - Mark bug as <b>CLOSED</b><br> - [% knum = knum + 1 %] - [% END %] - [% END %] - [% END %] - - <input type="submit" value="Commit"> - <input type="hidden" name="form_name" value="process_bug"> - <p> - <font size="+1"> - <b> - <a href="show_activity.cgi?id=[% bug.bug_id %]">View Bug Activity</a> - | - <a href="long_list.cgi?buglist=[% bug.bug_id %]">Format For Printing</a> - </b> - </font> - - [% IF user.canmove %] - <font size="+1"><b> | </b></font> - <input type="submit" name="action" - value="[% Param("move-button-text") %]"> - [% END %] - </p> -</form> - -[%# *** Additional Comments *** %] - -<table> - <tr> - <td align="left"> - <b> - <a name="c0" href="#c0">Description</a>: - </b> - </td> - <td align="right" width="100%"> - Opened: [% bug.creation_ts %] - </td> - </tr> -</table> -<hr> - -[% PROCESS show/comments.tmpl - comments = bug.comments - %] - -<hr> - -[% PROCESS show/navigate.html.tmpl %] - -<br> - -[% INCLUDE global/footer %] - - -[%############################################################################%] -[%# Block for dependencies #%] -[%############################################################################%] - -[% BLOCK dependencies %] - <th align="right">Bug [% bug.bug_id %] [%+ dep.title %]:</th> - <td> - [% FOREACH depbug = bug.${dep.fieldname} %] - [% GetBugLink(depbug, depbug) %][% " " %] - [% END %] - </td> - <td> - <input name="[% dep.fieldname %]" - value="[% bug.${dep.fieldname}.join(', ') %]"> - </td> -[% END %] - - -[%############################################################################%] -[%# Block for SELECT fields #%] -[%############################################################################%] - -[% BLOCK select %] - <td> - <select name="[% selname %]"> - [% FOREACH x = ${selname} %] - <option value="[% x FILTER html %]" - [% " selected" IF x == bug.${selname} %]>[% x FILTER html %] - </option> - [% END %] - </select> - </td> - <td> </td> -[% END %] |