From d033109bdc8729e9ef46fc82ad200c7d2cda5a1a Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 19 Apr 2002 01:56:11 +0000 Subject: Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here. --- template/en/default/bug/activity/show.html.tmpl | 43 ++ template/en/default/bug/activity/table.html.tmpl | 91 ++++ template/en/default/bug/choose-xml.html.tmpl | 47 ++ template/en/default/bug/choose.html.tmpl | 36 ++ template/en/default/bug/comments.html.tmpl | 54 +++ template/en/default/bug/create/create.html.tmpl | 257 ++++++++++ template/en/default/bug/create/created.html.tmpl | 47 ++ .../en/default/bug/create/initial-comment.txt.tmpl | 21 + .../en/default/bug/create/make-template.html.tmpl | 33 ++ template/en/default/bug/dependency-graph.html.tmpl | 98 ++++ template/en/default/bug/dependency-tree.html.tmpl | 208 ++++++++ template/en/default/bug/edit.html.tmpl | 540 +++++++++++++++++++++ template/en/default/bug/navigate.html.tmpl | 54 +++ template/en/default/bug/show-multiple.html.tmpl | 156 ++++++ template/en/default/bug/votes/delete-all.html.tmpl | 46 ++ .../en/default/bug/votes/list-for-bug.html.tmpl | 49 ++ .../en/default/bug/votes/list-for-user.html.tmpl | 130 +++++ 17 files changed, 1910 insertions(+) create mode 100644 template/en/default/bug/activity/show.html.tmpl create mode 100644 template/en/default/bug/activity/table.html.tmpl create mode 100644 template/en/default/bug/choose-xml.html.tmpl create mode 100644 template/en/default/bug/choose.html.tmpl create mode 100644 template/en/default/bug/comments.html.tmpl create mode 100644 template/en/default/bug/create/create.html.tmpl create mode 100644 template/en/default/bug/create/created.html.tmpl create mode 100644 template/en/default/bug/create/initial-comment.txt.tmpl create mode 100644 template/en/default/bug/create/make-template.html.tmpl create mode 100644 template/en/default/bug/dependency-graph.html.tmpl create mode 100644 template/en/default/bug/dependency-tree.html.tmpl create mode 100644 template/en/default/bug/edit.html.tmpl create mode 100644 template/en/default/bug/navigate.html.tmpl create mode 100644 template/en/default/bug/show-multiple.html.tmpl create mode 100644 template/en/default/bug/votes/delete-all.html.tmpl create mode 100644 template/en/default/bug/votes/list-for-bug.html.tmpl create mode 100644 template/en/default/bug/votes/list-for-user.html.tmpl (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/activity/show.html.tmpl b/template/en/default/bug/activity/show.html.tmpl new file mode 100644 index 000000000..387ba6d6c --- /dev/null +++ b/template/en/default/bug/activity/show.html.tmpl @@ -0,0 +1,43 @@ + +[%# 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 + #%] + +[%# 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 $bug_id" + %] + +
+ +[% INCLUDE show/activity.html.tmpl %] + +

+ Back to bug [% bug_id %] +

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/activity/table.html.tmpl b/template/en/default/bug/activity/table.html.tmpl new file mode 100644 index 000000000..43529bd23 --- /dev/null +++ b/template/en/default/bug/activity/table.html.tmpl @@ -0,0 +1,91 @@ + +[%# 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 + #%] + +[%# 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 %] +

+ 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 '?'. +

+[% END %] + +[% IF operations.size > 0 %] + + + + + + + + + + [% FOREACH operation = operations %] + + + + [% FOREACH change = operation.changes %] + [% "" IF loop.index > 0 %] + + + + [% END %] + + [% END %] +
WhoWhenWhatRemovedAdded
+ [% operation.who %] + + [% operation.when %] +
+ [% IF change.attachid %] + + Attachment #[% change.attachid %] + [% END %] + [% change.field %] + + [% IF change.removed %] + [% change.removed FILTER html %] + [% ELSE %] +   + [% END %] + + [% IF change.added %] + [% change.added FILTER html %] + [% ELSE %] +   + [% END %] +
+[% END %] diff --git a/template/en/default/bug/choose-xml.html.tmpl b/template/en/default/bug/choose-xml.html.tmpl new file mode 100644 index 000000000..4456534f5 --- /dev/null +++ b/template/en/default/bug/choose-xml.html.tmpl @@ -0,0 +1,47 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Display bugs as XML" + %] + +
+ + + + + + + + + + +
+ Display bugs as XML by entering a list of bug numbers here: + + + +
  + (e.g. 1000, 2467, 852) +
+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/choose.html.tmpl b/template/en/default/bug/choose.html.tmpl new file mode 100644 index 000000000..b776ff255 --- /dev/null +++ b/template/en/default/bug/choose.html.tmpl @@ -0,0 +1,36 @@ + +[%# 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 + #%] + +[% UNLESS header_done %] + [% INCLUDE global/header + title = "Search by bug number" + %] +[% END %] + +
+

+ You may find a single bug by entering its bug id here: + + +

+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl new file mode 100644 index 000000000..27177486e --- /dev/null +++ b/template/en/default/bug/comments.html.tmpl @@ -0,0 +1,54 @@ + +[%# 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 + #%] + +[% 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 %] +
+ ------- Additional Comment + #[% count %] From + [% comment.name FILTER html %] + [%+ comment.time %] ------- + + [% END %] + +
+[%# Don't indent the
 block, since then the spaces are displayed in the
+  # generated HTML
+  #%]
+
+  [%- quoteUrls(comment.body) -%]
+
+[% END %] diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl new file mode 100644 index 000000000..cb82c8401 --- /dev/null +++ b/template/en/default/bug/create/create.html.tmpl @@ -0,0 +1,257 @@ + +[%# 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 + # Ville Skyttä + #%] + +[% INCLUDE global/header + title = "Enter Bug" + h2 = "This page lets you enter a new bug into Bugzilla." +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + [%# We can't use the select block in these two cases for various reasons. %] + + + + + + + + + + + + + + + [% sel = { description => 'Platform', name => 'rep_platform' } %] + [% INCLUDE select %] + + [% sel = { description => 'OS', name => 'op_sys' } %] + [% INCLUDE select %] + + + + [% IF Param('letsubmitterchoosepriority') %] + [% sel = { description => 'Priority', name => 'priority' } %] + [% INCLUDE select %] + [% ELSE %] + + [% END %] + + [% sel = { description => 'Severity', name => 'bug_severity' } %] + [% INCLUDE select %] + + + + + + + +[% IF bug_status.size > 1 %] + + [% sel = { description => 'Initial State', name => 'bug_status' } %] + [% INCLUDE select %] + + + +[% ELSE %] + +[% END %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[% IF Param('usebrowserinfo') %] + + + + +[% END %] + +

+ Before filling this in, please read the + bug-writing guidelines. +

Reporter:[% reporter FILTER html %]Product:[% product FILTER html %]
+ Version: + + + + + + Component: + + + +
 
 
+ + Assigned To: + + + + (Leave blank to assign to default component owner) +
Cc: + +
 
URL: + +
Summary: + +
Description: + +
+
+ [% IF group.size %] +
+ + Only users in the selected groups can view this bug: + +
+ + (Leave all boxes unchecked to make this a public bug.) + +
+
+ + + [% FOREACH g = group %] +      + [% g.description %]
+ [% END %] +
+ [% END %] +
+ +      + +
+
+ We've made a guess at your operating system and platform. + Please check them and, if we got it wrong, email + [% Param('maintainer') %]. +
+ +
+ +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + [% IF sel.description %] + + + [% sel.description %]: + + + [% END %] + + + + +[% END %] diff --git a/template/en/default/bug/create/created.html.tmpl b/template/en/default/bug/create/created.html.tmpl new file mode 100644 index 000000000..9eba2edf5 --- /dev/null +++ b/template/en/default/bug/create/created.html.tmpl @@ -0,0 +1,47 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Bug $bug_id Submitted" +%] + + + + + + +
+

Bug [% bug_id %] has been added to the database.

+ + [% mailresults %] + +
+ Back To Bug# [% bug_id %] +
+ +

+ + Attach a file to this bug. +

+ +[% INCLUDE show/navigate.html.tmpl %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/create/initial-comment.txt.tmpl b/template/en/default/bug/create/initial-comment.txt.tmpl new file mode 100644 index 000000000..21a9f3ff8 --- /dev/null +++ b/template/en/default/bug/create/initial-comment.txt.tmpl @@ -0,0 +1,21 @@ +[%# 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 + #%] +[% form.comment %] diff --git a/template/en/default/bug/create/make-template.html.tmpl b/template/en/default/bug/create/make-template.html.tmpl new file mode 100644 index 000000000..c5e017529 --- /dev/null +++ b/template/en/default/bug/create/make-template.html.tmpl @@ -0,0 +1,33 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Bookmarks are your friend" + h1 = "Template constructed" +%] + +

+If you bookmark this link, +going to the bookmark will bring up the enter bug page with the fields +initialized as you've requested. +

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/dependency-graph.html.tmpl b/template/en/default/bug/dependency-graph.html.tmpl new file mode 100644 index 000000000..fff5f1b4d --- /dev/null +++ b/template/en/default/bug/dependency-graph.html.tmpl @@ -0,0 +1,98 @@ + +[%# 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 + #%] + +[%# 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 $bug_id" + %] +[% END %] + +[% INCLUDE global/header %] + +

+ Green circles represent open bugs. +

+ + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ Bug numbers: + +
+ + Show every bug in the system with dependencies +
+ + Show the summaries of all displayed bugs +
+ +
+ +
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl new file mode 100644 index 000000000..ba0b8213f --- /dev/null +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -0,0 +1,208 @@ +[%# 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 + # Ville Skyttä + # Myk Melez + #%] + +[% PROCESS global/header + title = "Dependency tree for Bug $bugid" + h1 = "Dependency tree for bug $bugid" + style = "strike { background-color: #d9d9d9; color: #000000; }" +%] + +[% PROCESS depthControlToolbar %] + +[%# Display the tree of bugs that this bug depends on. %] +

Bugs that bug [% bugid %] depends on +[% IF dependson_ids.size > 0 %] + (view as bug list + [% IF canedit && dependson_ids.size > 1 %] + | change several + [% END %]) + [% IF maxdepth || hide_resolved %] + + (Only [% "open" IF hide_resolved %] bugs + [% " whose depth is less than $maxdepth" IF maxdepth %] + will be shown) + + [% END %] +

+ [% INCLUDE display_tree tree=dependson_tree bug_id=bugid %] +[% ELSE %] + +

None

+[% END %] + +[%# Display the tree of bugs that this bug blocks. %] +

Bugs that bug [% bugid %] blocks +[% IF blocked_ids.size > 0 %] + (view as bug list + [% IF canedit && blocked_ids.size > 1 %] + | change several + [% END %]) + [% IF maxdepth || hide_resolved %] + + (Only [% "open" IF hide_resolved %] bugs + [% " whose depth is less than $maxdepth" IF maxdepth %] + will be shown) + + [% END %] +

+ [% INCLUDE display_tree tree=blocked_tree bug_id=bugid %] +[% ELSE %] + +

None

+[% END %] + +[% PROCESS depthControlToolbar %] + +[% PROCESS global/footer %] + + +[%###########################################################################%] +[%# Block to display a tree #%] +[%###########################################################################%] + +[% BLOCK display_tree %] + +[% END %] + +[%###########################################################################%] +[%# Block for depth control toolbar #%] +[%###########################################################################%] + +[% BLOCK depthControlToolbar %] + + + [%# Hide/show resolved button + Swaps text depending on the state of hide_resolved %] + + + + + + + + + + + + + + + + +
+
+ + [% IF maxdepth %] + + [% END %] + + +
+
+ Max Depth: + +   + +
+ [%# set to one form %] + + + + +
+
+
+ [%# Minus one form + Allow subtracting only when realdepth and maxdepth > 1 %] + + + + +
+
+
+ [%# Limit entry form: the button can not do anything when total depth + is less than two, so disable it %] + + + + +
+
+
+ [%# plus one form + Disable button if total depth < 2, or if depth set to unlimited %] + + [% IF maxdepth %] + + [% END %] + + = realdepth ? + "disabled" : "" + %]> +
+
+
+ [%# Unlimited button %] + + + +
+
+[% END %] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl new file mode 100644 index 000000000..9b77c23a2 --- /dev/null +++ b/template/en/default/bug/edit.html.tmpl @@ -0,0 +1,540 @@ + +[%# 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 + #%] + +[% 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 %] + +
+ +
+ + + + + +[%# *** Platform Reporter Product OS AddCC *** %] + + + + + + + + + + [% PROCESS select selname = "rep_platform" %] + + + + + + + + [% PROCESS select selname => "product" %] + + + [% PROCESS select selname => "op_sys" %] + + + + + +[%# *** Component Version CC Priority Severity AssignedTo Milestone *** %] + + + + + + + + + [% PROCESS select selname => "version" %] + + + + + + + + + + + + [% PROCESS select selname => "priority" %] + + + + + + + + + [% PROCESS select selname = "bug_severity" %] + + + + + + + + + [% IF Param("usetargetmilestone") && bug.target_milestone %] + + [% PROCESS select selname = "target_milestone" %] + [% ELSE %] + + [% END %] + + +[%# *** QAContact URL Summary Whiteboard Keywords *** %] + + [% IF Param('useqacontact') %] + + + + + [% END %] + + + + + + + + + + + + [% IF Param('usestatuswhiteboard') %] + + + + + [% END %] + + [% IF use_keywords %] + + + + [% END %] +
+ Bug#: + + + [% bug.bug_id %] +   + Platform: + + Reporter: + + [% bug.reporter FILTER html %] +
+ Product: + + OS: + + Add CC: + + +
+ + + Component: + + + +   + Version: + + CC: + + [% IF bug.cc %] + +
+ Remove selected CCs +
+ [% ELSE %] + + [% END %] +
+ + Status: + + [% bug.bug_status FILTER html %]  + Priority: +
+ + Resolution: + + [% bug.resolution FILTER html %]  + Severity: +
+ + Assigned To: + + [% bug.assigned_to FILTER html %]  + + Target Milestone: + +  
+ QA Contact: + + +
+ + [% IF bug.bug_file_loc %] + URL: + [% ELSE %] + URL: + [% END %] + + + +
+ Summary: + + +
+ Status Whiteboard: + + +
+ + Keywords: + + + +
+ +[%# *** Attachments *** %] + + [% INCLUDE attachment/list.atml + attachments = bug.attachments + bugid = bug.bug_id %] + +[%# *** Dependencies Votes *** %] + + [% IF Param('usedependencies') %] + + + [% PROCESS dependencies + dep = { title => "depends on", fieldname => "dependson" } %] + + + + + [% PROCESS dependencies + dep = { title => "blocks", fieldname => "blocked" } %] + +
+ Show + dependency tree + + [% IF Param('webdotbase') %] +
+ Show + dependency graph + [% END %] +
+ [% END %] + + [% IF use_votes %] + + + + + +
+ Votes: + + [% bug.votes %]    + Show + votes for this bug    + Vote + for this bug +
+ [% END %] + +[%# *** Comments Groups *** %] + +
+ Additional Comments: +
+ +
+ + [% IF groups.size > 0 %] +
+ Only users in the selected groups can view this bug: +
+ (Unchecking all boxes makes this a public bug.) +
+
+ + [% FOREACH group = groups %] +      + + [% group.description %] +
+ [% END %] + + [% IF NOT user.inallgroups %] + + Only members of a group can change the visibility of a bug for + that group + +
+ [% END %] + + [% IF bug.inagroup %] +

+ But users in the roles selected below can always view this bug: +
+ + (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.) + +

+ +

+ Reporter + CC List +

+ [% END %] + [% END %] + +[%# *** Knob *** %] + +
+ + Leave as [% bug.bug_status FILTER html %]  + [% bug.resolution FILTER html %] +
+ + [% knum = 1 %] + + [% IF bug.bug_status == "UNCONFIRMED" && + (user.canedit || user.canconfirm) %] + + Confirm bug (change status to NEW) +
+ [% knum = knum + 1 %] + [% END %] + + [% IF user.canedit %] + [% IF bug.isopened %] + [% IF bug.bug_status != "ASSIGNED" %] + + Accept bug ( + [% "confirm bug, " IF bug.isunconfirmed %]change + status to ASSIGNED) +
+ [% knum = knum + 1 %] + [% END %] + + [% IF bug.resolution %] + + Clear the resolution (remove the current resolution of + [% bug.resolution FILTER html %])
+ [% knum = knum + 1 %] + [% END %] + + + Resolve bug, changing resolution to + +
+ [% knum = knum + 1 %] + + + Resolve bug, mark it as duplicate of bug # + +
+ [% knum = knum + 1 %] + + + Reassign bug to + +
+ [% IF bug.isunconfirmed %] +      + and confirm bug (change status to NEW) +
+ [% END %] + [% knum = knum + 1 %] + + + Reassign bug to owner + [% "and QA contact" IF useqacontact %] + of selected component +
+ [% IF bug.isunconfirmed %] +      + and confirm bug (change status to NEW) +
+ [% END %] + [% knum = knum + 1 %] + [% ELSE %] + [% IF bug.resolution != "MOVED" || + (bug.resolution == "MOVED" && user.canmove) %] + Reopen bug +
+ [% knum = knum + 1 %] + [% END %] + [% IF bug.bug_status == "RESOLVED" %] + + Mark bug as VERIFIED
+ [% knum = knum + 1 %] + [% END %] + [% IF bug.bug_status != "CLOSED" %] + + Mark bug as CLOSED
+ [% knum = knum + 1 %] + [% END %] + [% END %] + [% END %] + + + +

+ + + View Bug Activity +   |   + Format For Printing + + + + [% IF user.canmove %] +   |   + + [% END %] +

+
+ +[%# *** Additional Comments *** %] + + + + + + +
+ + Description: + + + Opened: [% bug.creation_ts %] +
+
+ +[% PROCESS show/comments.tmpl + comments = bug.comments + %] + +
+ +[% PROCESS show/navigate.html.tmpl %] + +
+ +[% INCLUDE global/footer %] + + +[%############################################################################%] +[%# Block for dependencies #%] +[%############################################################################%] + +[% BLOCK dependencies %] + Bug [% bug.bug_id %] [%+ dep.title %]: + + [% FOREACH depbug = bug.${dep.fieldname} %] + [% GetBugLink(depbug, depbug) %][% " " %] + [% END %] + + + + +[% END %] + + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + + + +   +[% END %] diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl new file mode 100644 index 000000000..3713e0a0d --- /dev/null +++ b/template/en/default/bug/navigate.html.tmpl @@ -0,0 +1,54 @@ + +[%# 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 + #%] + +[% IF bug_list.size > 0 %] + [% this_bug_idx = lsearch(bug_list, bug.bug_id) %] + Bug List: + [% IF this_bug_idx != -1 %] + ([% this_bug_idx + 1 %] of [% bug_list.size %]) + [% END %] + + First + Last + + [% IF this_bug_idx != -1 %] + [% IF this_bug_idx > 0 %] + [% prev_bug = this_bug_idx - 1 %] + Prev + [% ELSE %] + Prev + [% END %] + + [% IF this_bug_idx + 1 < bug_list.size %] + [% next_bug = this_bug_idx + 1 %] + Next + [% ELSE %] + Next + [% END %] + [% ELSE %] + (This bug is not in your list) + [% END %] + +   Show list +[% END %] + +     Query page +     Enter new bug diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl new file mode 100644 index 000000000..8313323aa --- /dev/null +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -0,0 +1,156 @@ + +[%# 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 + # Gervase Markham + #%] + +[% INCLUDE global/header + title = "Full Text Bug Listing" +%] + +[% IF bugs.first %] + [% FOREACH bug = bugs %] + [% PROCESS bug_display %] + [% END %] +[% ELSE %] +

+ You'd have more luck if you gave me some bug numbers. +

+[% END %] + +[% INCLUDE global/footer %] + + +[%###########################################################################%] +[%# Block for an individual bug #%] +[%###########################################################################%] + +[% BLOCK bug_display %] + +
+ + Bug [% bug.bug_id %] - [% bug.short_desc FILTER html %] + +
+ + + + + [% PROCESS cell attr = { description => "Product", + name => "product" } %] + [% PROCESS cell attr = { description => "Version", + name => "version" } %] + [% PROCESS cell attr = { description => "Platform", + name => "rep_platform" } %] + + + + [% 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" } %] + + + + [% 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 %] + + + + + + + + + + + + + + + + [% IF use_keywords %] + + + + [% END %] + + [% IF Param("usestatuswhiteboard") %] + + + + [% END %] + + + + +
+ Bug#: + [% bug.bug_id %] +
+ Component:  + [% bug.component %] + + [% IF Param('usetargetmilestone') %] + Target Milestone:  + [% bug.target_milestone FILTER html %] + [% END %] +
+ URL:  + [% bug.bug_file_loc FILTER html %] +
+ Summary: [% bug.short_desc FILTER html %] +
+ Keywords:  [% bug.keywords FILTER html %] +
+ Status Whiteboard:  + [% bug.status_whiteboard FILTER html %] +
+ Description: +
+ + [% PROCESS show/comments.tmpl + comments = bug.comments %] + +
+[% END %] + + +[%###########################################################################%] +[%# Block for standard table cells #%] +[%###########################################################################%] + +[% BLOCK cell %] + + [% attr.description%]:  + [% bug.${attr.name} FILTER html %] + +[% END %] diff --git a/template/en/default/bug/votes/delete-all.html.tmpl b/template/en/default/bug/votes/delete-all.html.tmpl new file mode 100644 index 000000000..9a63f75af --- /dev/null +++ b/template/en/default/bug/votes/delete-all.html.tmpl @@ -0,0 +1,46 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Remove your votes?" + %] + +

+ You are about to remove all of your bug votes. Are you sure you wish to + remove your vote from every bug you've voted on? +

+ +
+ +

+ + Yes, delete all my votes +

+

+ + No, go back and review my votes +

+

+ +

+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/votes/list-for-bug.html.tmpl b/template/en/default/bug/votes/list-for-bug.html.tmpl new file mode 100644 index 000000000..a9bcaf5c8 --- /dev/null +++ b/template/en/default/bug/votes/list-for-bug.html.tmpl @@ -0,0 +1,49 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Show Votes" + h2 = "Bug $bug_id" + %] + + + + + + + + [% FOREACH user = users %] + + + + + [% END %] +
WhoNumber of votes
+ + [% user.name %] + + + [% user.count %] +
+ +

Total votes: [% total %]

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl new file mode 100644 index 000000000..96d9ad84a --- /dev/null +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -0,0 +1,130 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Show Votes" + h2 = user.name + %] + +[% IF votes_recorded %] +

+ + The changes to your votes have been saved. + +

+[% ELSE %] +
+[% END %] + +[% IF products.size %] +
+ + + + + + + + + + [% FOREACH product = products %] + + + + [% IF product.maxperbug < product.maxvotes AND + product.maxperbug > 1 %] + + [% END %] + + + [% FOREACH bug = product.bugs %] + + + + + + + [% END %] + + + + + + [% END %] +
Bug #SummaryVotes
[% product.name FILTER html %] + + (Note: only [% product.maxperbug %] vote + [% "s" IF product.maxperbug != 1 %] allowed per bug in + this product.) + +
+ [% "" IF NOT bug.opened %] + + [% bug.id %] + [% "" IF NOT bug.opened %] + + + [% bug.summary FILTER html %] + + + [% IF user.canedit %] + [% IF product.onevoteonly %] + + [% ELSE %] + + [% END %] + [% ELSE %] + [% bug.count %] + [% END %] +
[% product.total %] vote + [% "s" IF product.total != 1 %] used out of [% product.maxvotes %] + allowed. +
+
+
+ + [% IF user.canedit %] + +
+
+ To change your votes, type in new numbers (using zero to + mean no votes) or change the checkbox, and then click + Change My Votes. + [% END %] +
+[% ELSE %] +

+ [% IF user.canedit %] + You are + [% ELSE %] + This user is + [% END %] + currently not voting on any bugs. +

+[% END %] + +

+ Help with voting. +

+ +[% INCLUDE global/footer %] -- cgit v1.2.3-24-g4f1b