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/account/cancel-token.txt.tmpl | 39 + template/en/default/account/create.html.tmpl | 58 ++ template/en/default/account/created.html.tmpl | 38 + .../en/default/account/email/change-new.txt.tmpl | 36 + .../en/default/account/email/change-old.txt.tmpl | 35 + .../en/default/account/email/confirm.html.tmpl | 44 ++ template/en/default/account/exists.html.tmpl | 34 + .../en/default/account/prefs/account.html.tmpl | 99 +++ template/en/default/account/prefs/email.html.tmpl | 157 ++++ template/en/default/account/prefs/footer.html.tmpl | 76 ++ .../en/default/account/prefs/permissions.html.tmpl | 57 ++ template/en/default/account/prefs/prefs.html.tmpl | 113 +++ .../en/default/attachment/content-types.html.tmpl | 27 + template/en/default/attachment/create.html.tmpl | 130 +++ template/en/default/attachment/created.html.tmpl | 56 ++ template/en/default/attachment/edit.html.tmpl | 226 ++++++ template/en/default/attachment/list.html.tmpl | 81 ++ .../en/default/attachment/show-multiple.html.tmpl | 98 +++ template/en/default/attachment/updated.html.tmpl | 46 ++ 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 +++ .../en/default/global/choose-product.html.tmpl | 42 + template/en/default/global/code-error.html.tmpl | 57 ++ template/en/default/global/footer.html.tmpl | 6 + template/en/default/global/header.html.tmpl | 64 ++ template/en/default/global/hidden-fields.html.tmpl | 32 + template/en/default/global/message.html.tmpl | 17 + template/en/default/global/user-error.html.tmpl | 40 + template/en/default/index.html.tmpl | 88 +++ template/en/default/list/change-columns.html.tmpl | 51 ++ template/en/default/list/edit-multiple.html.tmpl | 316 ++++++++ template/en/default/list/list-rdf.rdf.tmpl | 54 ++ template/en/default/list/list-simple.html.tmpl | 45 ++ template/en/default/list/list.html.tmpl | 161 ++++ template/en/default/list/quips.html.tmpl | 65 ++ template/en/default/list/server-push.html.tmpl | 36 + template/en/default/list/table.html.tmpl | 143 ++++ template/en/default/reports/components.html.tmpl | 88 +++ template/en/default/reports/duplicates.html.tmpl | 276 +++++++ template/en/default/reports/keywords.html.tmpl | 75 ++ .../en/default/search/search-advanced.html.tmpl | 869 +++++++++++++++++++++ template/en/default/search/search.html.tmpl | 869 +++++++++++++++++++++ template/en/default/sidebar.xul.tmpl | 123 +++ 58 files changed, 6877 insertions(+) create mode 100644 template/en/default/account/cancel-token.txt.tmpl create mode 100644 template/en/default/account/create.html.tmpl create mode 100644 template/en/default/account/created.html.tmpl create mode 100644 template/en/default/account/email/change-new.txt.tmpl create mode 100644 template/en/default/account/email/change-old.txt.tmpl create mode 100644 template/en/default/account/email/confirm.html.tmpl create mode 100644 template/en/default/account/exists.html.tmpl create mode 100644 template/en/default/account/prefs/account.html.tmpl create mode 100644 template/en/default/account/prefs/email.html.tmpl create mode 100644 template/en/default/account/prefs/footer.html.tmpl create mode 100644 template/en/default/account/prefs/permissions.html.tmpl create mode 100644 template/en/default/account/prefs/prefs.html.tmpl create mode 100644 template/en/default/attachment/content-types.html.tmpl create mode 100644 template/en/default/attachment/create.html.tmpl create mode 100644 template/en/default/attachment/created.html.tmpl create mode 100644 template/en/default/attachment/edit.html.tmpl create mode 100644 template/en/default/attachment/list.html.tmpl create mode 100644 template/en/default/attachment/show-multiple.html.tmpl create mode 100644 template/en/default/attachment/updated.html.tmpl 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 create mode 100644 template/en/default/global/choose-product.html.tmpl create mode 100644 template/en/default/global/code-error.html.tmpl create mode 100644 template/en/default/global/footer.html.tmpl create mode 100644 template/en/default/global/header.html.tmpl create mode 100644 template/en/default/global/hidden-fields.html.tmpl create mode 100644 template/en/default/global/message.html.tmpl create mode 100644 template/en/default/global/user-error.html.tmpl create mode 100644 template/en/default/index.html.tmpl create mode 100644 template/en/default/list/change-columns.html.tmpl create mode 100644 template/en/default/list/edit-multiple.html.tmpl create mode 100644 template/en/default/list/list-rdf.rdf.tmpl create mode 100644 template/en/default/list/list-simple.html.tmpl create mode 100644 template/en/default/list/list.html.tmpl create mode 100644 template/en/default/list/quips.html.tmpl create mode 100644 template/en/default/list/server-push.html.tmpl create mode 100644 template/en/default/list/table.html.tmpl create mode 100644 template/en/default/reports/components.html.tmpl create mode 100644 template/en/default/reports/duplicates.html.tmpl create mode 100644 template/en/default/reports/keywords.html.tmpl create mode 100644 template/en/default/search/search-advanced.html.tmpl create mode 100644 template/en/default/search/search.html.tmpl create mode 100644 template/en/default/sidebar.xul.tmpl (limited to 'template/en/default') diff --git a/template/en/default/account/cancel-token.txt.tmpl b/template/en/default/account/cancel-token.txt.tmpl new file mode 100644 index 000000000..b37d0da2d --- /dev/null +++ b/template/en/default/account/cancel-token.txt.tmpl @@ -0,0 +1,39 @@ +[%# 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): John Vandenberg + #%] +From: bugzilla-admin-daemon +To: [% emailaddress %] +Subject: [% tokentype %] token cancelled + +A token was cancelled from [% remoteaddress %]. +If you did not request this, it could be either an honest +mistake or the result of a malicious hack attempt. + +Take a look at the information below and forward this email +to [% maintainer %] if you suspect foul play. + + Token: [% token %] + Token Type: [% tokentype %] + User: [% emailaddress %] + Issue Date: [% issuedate %] + Event Data: [% eventdata %] +Cancelled Because: [% cancelaction %] + + diff --git a/template/en/default/account/create.html.tmpl b/template/en/default/account/create.html.tmpl new file mode 100644 index 000000000..e39d6ff5e --- /dev/null +++ b/template/en/default/account/create.html.tmpl @@ -0,0 +1,58 @@ + +[%# 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 = "Create a new Bugzilla account" +%] + +

+ To create a Bugzilla account, all that you need to do is to enter a + legitimate e-mail address. The account will be created, and its + password will be mailed to you. Optionally you may enter your real name + as well. +

+ +
+ + + + + + + + + + +
+ E-mail address: + + + [% Param('emailsuffix') FILTER html %] +
+ Real name: + + +
+
+ +
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/account/created.html.tmpl b/template/en/default/account/created.html.tmpl new file mode 100644 index 000000000..46bc82ad2 --- /dev/null +++ b/template/en/default/account/created.html.tmpl @@ -0,0 +1,38 @@ + +[%# 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 = "Account Created" +%] + +

+ A new account, + [% login FILTER html %], + has been created and a randomly-generated password has been e-mailed + to that address. +

+ +

+ When the e-mail arrives, + log in here. +

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/account/email/change-new.txt.tmpl b/template/en/default/account/email/change-new.txt.tmpl new file mode 100644 index 000000000..5a5ae2535 --- /dev/null +++ b/template/en/default/account/email/change-new.txt.tmpl @@ -0,0 +1,36 @@ +[%# 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): John Vandenberg + #%] +From: bugzilla-admin-daemon +To: [% emailaddress %] +Subject: Bugzilla Change Email Address Request + +Bugzilla has received a request to change the email address +for the [% oldemailaddress %] account to your address. + +To confirm the change, visit the following link: + +[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token FILTER html %] + +If you are not the person who made this request, or you wish to cancel +this request, visit the following link: + +[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER html %] + diff --git a/template/en/default/account/email/change-old.txt.tmpl b/template/en/default/account/email/change-old.txt.tmpl new file mode 100644 index 000000000..82ecf1dfc --- /dev/null +++ b/template/en/default/account/email/change-old.txt.tmpl @@ -0,0 +1,35 @@ +[%# 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): John Vandenberg + #%] +From: bugzilla-admin-daemon +To: [% emailaddress %] +Subject: Bugzilla Change Email Address Request +Importance: High +X-MSMail-Priority: High +X-Priority: 1 + +Bugzilla has received a request to change the email address +for your account to [% newemailaddress %]. + +If you are not the person who made this request, or you wish to cancel +this request, visit the following link: + +[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER html %] + diff --git a/template/en/default/account/email/confirm.html.tmpl b/template/en/default/account/email/confirm.html.tmpl new file mode 100644 index 000000000..4d4102968 --- /dev/null +++ b/template/en/default/account/email/confirm.html.tmpl @@ -0,0 +1,44 @@ + +[%# 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): John Vandenberg + #%] + +[% INCLUDE global/header %] + + +

+ To change your email address, please enter the old email address: +

+ +
+ + + + + + + + + + + +
Old Email Address:
+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/account/exists.html.tmpl b/template/en/default/account/exists.html.tmpl new file mode 100644 index 000000000..a4357a5a0 --- /dev/null +++ b/template/en/default/account/exists.html.tmpl @@ -0,0 +1,34 @@ + +[%# 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 = "Account Exists" +%] + +
+ + + A Bugzilla account for [% login FILTER html %] already exists. If you + are the account holder and have forgotten your password, + . +
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl new file mode 100644 index 000000000..e1675c7fb --- /dev/null +++ b/template/en/default/account/prefs/account.html.tmpl @@ -0,0 +1,99 @@ + +[%# 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: + # realname: string. The user's real name, if any. + # login: string. The user's Bugzilla login email address. + # login_change_date: string. The date the email change will be complete. (optional) + # new_login_name: string. The user's new Bugzilla login whilst not confirmed. (optional) + #%] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% IF Param('allowemailchange') %] + [% IF login_change_date %] + [% IF new_login_name %] + + + + + + + + + [% ELSE %] + + + + + + + + [% END %] + [% ELSE %] + + + + + [% END %] + [% END %] + +
+ Please enter your existing password to confirm account changes. +
Password: + + +

New password: + +
Re-enter new password: + +
Your real name (optional, but encouraged): + +
Pending email address:[% new_login_name FILTER html %]
Change request expires:[% login_change_date %]
Confirmed email address:[% login FILTER html %] +
Completion date:[% login_change_date %]
New email address: + +
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl new file mode 100644 index 000000000..f7d529c7c --- /dev/null +++ b/template/en/default/account/prefs/email.html.tmpl @@ -0,0 +1,157 @@ + +[%# 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: + # watchedusers: string. + # Comma-separated list of email addresses this user watches. + # excludeself: boolean. + # True if user is not receiving self-generated mail. + # : Multiple hashes, one for each rolename (e.g. owner; see + # below), keyed by reasonname (e.g. comments; again, see + # below). The value is a boolean - true if the user is + # receiving mail for that reason when in that role. + # Also references the 'supportwatchers' Param. + #%] + + + [% IF Param('supportwatchers') %] + + + + + + + + + + + + + [% END %] + + + + +
+
+
+ If you want to help cover for someone when they're on vacation, or if + you need to do the QA related to all of their bugs, you can tell + Bugzilla to send mail related to their bugs to you also. List the + email addresses of any users you wish to watch here, separated by + commas. +
Users to watch: + +
+

+ If you don't like getting a notification for "trivial" + changes to bugs, you can use the settings below to + filter some (or even all) notifications. +

+
+ +
+ + + + + + + + + + +
+ Global options: +
+ Only email me reports of changes made by other people + +
+
+ +
+Field/recipient specific options: +
+
+ + + + + + + + + + + + + + + + + [% FOREACH reason = [ + { name = 'Removeme', + description = 'I\'m added to or removed from this capacity' }, + { name = 'Comments', + description = 'New Comments are added' }, + { name = 'Attachments', + description = 'New Attachments are added' }, + { name = 'Status', + description = 'Priority, status, severity, and/or milestone changes' }, + { name = 'Resolved', + description = 'The bug is resolved or verified' }, + { name = 'Keywords', + description = 'Keywords field changes' }, + { name = 'CC', + description = 'CC field changes' }, + { name = 'Other', + description = 'Any field not mentioned above changes' } ] %] + + [% FOREACH role = [ "Owner", "Reporter", "QAcontact", "CClist", "Voter" ] + %] + + [% END %] + + + [% END %] +
+ When my relationship to this bug is: + + I want to receive mail when: +
+ Reporter + + Assignee + + QA Contact + + CC + + Voter +
+ + + [% reason.description %] +
+ +
diff --git a/template/en/default/account/prefs/footer.html.tmpl b/template/en/default/account/prefs/footer.html.tmpl new file mode 100644 index 000000000..ea5753f0e --- /dev/null +++ b/template/en/default/account/prefs/footer.html.tmpl @@ -0,0 +1,76 @@ + +[%# 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: + # mybugslink: boolean. True if the user wishes the My Bugs link to appear. + # queries: array of hashes. May be empty. Each hash has two members: + # name: string. The name of the query. + # footer: boolean. True if the query appears in the footer. + #%] + + + + + + + + + [% IF queries.size %] + [% FOREACH query = queries %] + + + + + + + [% END %] + + [% ELSE %] + + + + [% END %] + +
The 'My bugs' link: + +
Your query named '[% query.name FILTER html %]': + +
+
+ If you create remembered queries using the + query page, + you can then come to this page and choose to have some of them + appear in the footer of each Bugzilla page. +
+
+
diff --git a/template/en/default/account/prefs/permissions.html.tmpl b/template/en/default/account/prefs/permissions.html.tmpl new file mode 100644 index 000000000..7ab7f1df9 --- /dev/null +++ b/template/en/default/account/prefs/permissions.html.tmpl @@ -0,0 +1,57 @@ + +[%# 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: + # has_bits: array of strings. May be empty. + # Descriptions of the permission bits the user has. + # set_bits: array of strings. May be empty. + # Descriptions of the permission bits the user can set for + # other people. + #%] + + + + + +
+ [% IF has_bits.size %] + You have the following permission bits set on your account: +
    + [% FOREACH bit_description = has_bits %] +
  • [% bit_description %]
  • + [% END %] +
+ [% ELSE %] + There are no permission bits set on your account. + [% END %] + + [% IF set_bits.size %] + And you can turn on or off the following bits for + other users: +

+

    + [% FOREACH bit_description = set_bits %] +
  • [% bit_description %]
  • + [% END %] +
+

+ [% END %] +
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl new file mode 100644 index 000000000..5d9fc6eb3 --- /dev/null +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -0,0 +1,113 @@ + +[%# 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: + # login: string. The user's Bugzilla login email address. + # tabs: List of hashes. May not be empty. Each hash has three members: + # name: string. Name of the tab (used internally.) + # description: string. Description of the tab (used in tab title.) + # saveable: boolean. True if tab has a form which can be submitted. + # True if user is not receiving self-generated mail. + # Note: For each tab name, a template "prefs/${tab.name}.tmpl" must exist, + # and its interface must be fulfilled. + # current_tab: A direct reference to one of the hashes in the tabs list. + # This tab will be displayed. + # changes_saved: boolean/string. True if the CGI processed form data before + # displaying anything, and can contain an optional custom + # message if required (which Perl still evaluates as True). + #%] + +[% filtered_login = login FILTER html %] +[% INCLUDE global/header + title = "User Preferences" + h2 = filtered_login + style = "td.selected_tab { + border-width: 2px 2px 0px; + border-style: solid; + } + td.unselected_tab, td.spacer { + border-width: 0px 0px 2px 0px; + border-style: solid; + }" + %] + +
+ + + + + [% FOREACH tab = tabs %] + [% IF tab.name == current_tab.name %] + + [% ELSE %] + + [% END %] + [% END %] + + + +
  + [% tab.description %] + + [% tab.description %] +  
+
+ +[% IF changes_saved %] +

+ + The changes to your + [% current_tab.description FILTER lower %] have been saved. + +

+ [% IF changes_saved != 1 %] +

+ [% changes_saved %] +

+ [% END %] +[% END %] + +

[% current_tab.description %]

+ +
+ + + [% INCLUDE "prefs/${current_tab.name}.tmpl" IF current_tab.name.defined %] + + [% IF current_tab.saveable %] + + + + + + + +
+ +
+ [% END %] + +
+ +[% INCLUDE global/footer %] + + + diff --git a/template/en/default/attachment/content-types.html.tmpl b/template/en/default/attachment/content-types.html.tmpl new file mode 100644 index 000000000..4e7cafc47 --- /dev/null +++ b/template/en/default/attachment/content-types.html.tmpl @@ -0,0 +1,27 @@ + +[%# 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): Myk Melez + #%] + + + + + + + diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl new file mode 100644 index 000000000..44533512e --- /dev/null +++ b/template/en/default/attachment/create.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): Myk Melez + #%] + +[%# Define strings that will serve as the title and header of this page %] +[% title = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %] +[% h1 = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %] +[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] + +[% INCLUDE global/header + title = title + h1 = h1 + h2 = h2 + style = " + th { text-align: right; vertical-align: baseline; white-space: nowrap; } + td { text-align: left; vertical-align: baseline; padding-bottom: 5px; } + " + extra = "onload=\"setContentTypeDisabledState();\"" +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File: + Enter the path to the file on your computer.
+ +
Description: + Describe the attachment briefly.
+ +
+
Content Type: + If the attachment is a patch, check the box below.
+ patch

+ + Otherwise, choose a method for determining the content type.
+ + auto-detect
+ + select from list:
+ + enter manually: +
Obsoletes: + (optional) Check each existing attachment made obsolete by your new attachment.
+ [% IF attachments.size %] + [% FOREACH attachment = attachments %] + + [% attachment.id %]: [% attachment.description FILTER html %]
+ [% END %] + [% ELSE %] + [no attachments can be made obsolete] + [% END %] +
Comment: + (optional) Add a comment about this attachment to the bug.
+ +
 
+ +
+ + + +[% INCLUDE global/footer %] + + + diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl new file mode 100644 index 000000000..c46afe06b --- /dev/null +++ b/template/en/default/attachment/created.html.tmpl @@ -0,0 +1,56 @@ + +[%# 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): Myk Melez + #%] + +[% INCLUDE global/header + title = "Changes Submitted" + style = "th { text-align: left; }" +%] + + + + + + +
+

+ Attachment #[% attachid %] + to Bug #[% bugid %] Created +

+ + [% mailresults %] + + [% IF contenttypemethod == 'autodetect' %] +

+ Note: Bugzilla automatically detected the content type + [% contenttype %] for this attachment. If this is + incorrect, correct the value by + editing the attachment. +

+ [% END %] +
+ Go back to bug #[% bugid %] +
+ +

+Create Another Attachment to Bug #[% bugid %] +

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl new file mode 100644 index 000000000..1d06bfb6f --- /dev/null +++ b/template/en/default/attachment/edit.html.tmpl @@ -0,0 +1,226 @@ + +[%# 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): Myk Melez + #%] + +[%# Define strings that will serve as the title and header of this page %] +[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %] +[% h1 = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %] +[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] + +[% INCLUDE global/header + title = title + h1 = h1 + h2 = h2 + style = " + th { text-align: right; vertical-align: top; } + td { text-align: left; vertical-align: top; } + td#info { text-align: right; vertical-align: top; } + td#actions { text-align: right; vertical-align: bottom; } + td#noview { text-align: left; vertical-align: center; } + " +%] + + + +
+ + + + + + + + + + [% IF isviewable %] + + [% ELSE %] + + [% END %] + + + +
+ + Description:
+
+ + MIME Type:
+
+ + Flags:
+ patch + obsolete
+ + [% IF statusdefs.size %] + Status:
+ [% FOREACH def = statusdefs %] + [% def.name FILTER html %]
+ [% END %] + [% END %] + +
+ Comment (on the bug):
+
+
+ + + +
+
+ + + + +

+ Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*. + Download the attachment instead. +

+
+ + Attachments on this Bug: + [% FOREACH a = attachments %] + [% IF a == attachid %] + #[% a %] + [% ELSE %] + #[% a %] + [% END %] + [% "|" UNLESS loop.last() %] + [% END %] + +
+ +
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl new file mode 100644 index 000000000..5bc5217c9 --- /dev/null +++ b/template/en/default/attachment/list.html.tmpl @@ -0,0 +1,81 @@ + +[%# 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): Myk Melez + #%] + +
+ + + + + + + + + + [% FOREACH attachment = attachments %] + + + + + + + + + + + + [% END %] + + + + + +
AttachmentTypeModifiedStatusActions
+ [% IF attachment.isobsolete %] + [% attachment.description FILTER html %] + [% ELSE %] + [% attachment.description FILTER html %] + [% END %] + + [% IF attachment.ispatch %] + patch + [% ELSE %] + [% attachment.contenttype FILTER html %] + [% END %] + [% attachment.date %] + [% IF attachment.statuses.size == 0 %] + none + [% ELSE %] + [% FOREACH s = attachment.statuses %] + [% s FILTER html FILTER replace('\s', ' ') %]
+ [% END %] + [% END %] +
+ [% IF attachment.canedit %] + Edit + [% ELSE %] + None + [% END %] +
+ Create a New Attachment (proposed patch, testcase, etc.) + + View All +
+
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl new file mode 100644 index 000000000..88c92b969 --- /dev/null +++ b/template/en/default/attachment/show-multiple.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): Myk Melez + #%] + +[% filtered_summary = bugsummary FILTER html %] +[% INCLUDE global/header + title = "View All Attachments for Bug #$bugid" + h1 = "View All Attachments for Bug #$bugid" + h2 = filtered_summary + style = " + th { text-align: right; vertical-align: top; } + td { text-align: left; vertical-align: top; } + td#info { text-align: right; vertical-align: top; } + td#actions { text-align: right; vertical-align: bottom; } + " +%] + +
+ +[% FOREACH a = attachments %] + +
+ + + + + + + + + + + + + + + +
+ Attachment #[% a.attachid %] +
+ [% IF a.isobsolete %] + [% a.description FILTER html %] + [% ELSE %] + [% a.description FILTER html %] + [% END %] + + [% IF a.ispatch %] + patch + [% ELSE %] + [% a.contenttype FILTER html %] + [% END %] + [% a.date %] + [% IF a.statuses.size == 0 %] + none + [% ELSE %] + [% FOREACH s = a.statuses %] + [% s FILTER html FILTER replace('\s', ' ') %]
+ [% END %] + [% END %] +
+ Edit +
+ + [% IF a.isviewable %] + + [% ELSE %] +

+ Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. + Download the attachment instead. +

+ [% END %] +
+ +

+ +[% END %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl new file mode 100644 index 000000000..e24595747 --- /dev/null +++ b/template/en/default/attachment/updated.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): Myk Melez + # Gervase Markham + #%] + +[% INCLUDE global/header + title = "Changes Submitted" + style = "th { text-align: left; }" +%] + +
+ + + + + + + +
+

Changes to + attachment [% attachid %] + of bug [% bugid %] submitted +

+ [% mailresults %] +
+ Back to Bug #[% bugid %] +
+ +[% INCLUDE global/footer %] 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 %] diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl new file mode 100644 index 000000000..31d9ea7ba --- /dev/null +++ b/template/en/default/global/choose-product.html.tmpl @@ -0,0 +1,42 @@ + +[%# 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 title = "Choose a Product" %] +[% INCLUDE global/header %] + + + +[% FOREACH p = proddesc.keys.sort %] + + + + [% IF proddesc.$p %] + + [% END %] + +[% END %] + +
+ + [% p FILTER html %]: +  [% proddesc.$p %]
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl new file mode 100644 index 000000000..9f1fe2964 --- /dev/null +++ b/template/en/default/global/code-error.html.tmpl @@ -0,0 +1,57 @@ + +[%# 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 %] +[% END %] + + +

+ Bugzilla has suffered an internal error. Please save this page and send + it to [% Param("maintainer") %] with details of what you were doing at + the time this message appeared. +

+ +
+ + + + + +
+ + [% error %] + +
+ +[% IF variables %] +
+Variables:
+  [% FOREACH key = variables.keys %]
+    [%+ key %]: [%+ variables.$key %]
+  [% END %]
+  
+[% END %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/global/footer.html.tmpl b/template/en/default/global/footer.html.tmpl new file mode 100644 index 000000000..98d525a78 --- /dev/null +++ b/template/en/default/global/footer.html.tmpl @@ -0,0 +1,6 @@ + +[% PerformSubsts(Param('footerhtml')) %] + + + + diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl new file mode 100644 index 000000000..4dc89e053 --- /dev/null +++ b/template/en/default/global/header.html.tmpl @@ -0,0 +1,64 @@ + +[% DEFAULT + title = "" + h1 = title + h2 = "" + extra = "" + jscript = "" + style = "" + message = "" +%] + + + + [% title FILTER html %] + + [% Param('headerhtml') %] + + [% jscript %] + + + + [% IF style %] + + [% END %] + + [% IF style_url %] + + [% END %] + + + + + + [% PerformSubsts(Param('bannerhtml')) %] + +[% IF h1 || h2 %] + + + + + + +
+ + + + +
+ [% h1 %] +
+
 [% h2 %]
+[% END %] + +[% IF message %] +
+ [% message %] +
+[% END %] diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl new file mode 100644 index 000000000..85df62435 --- /dev/null +++ b/template/en/default/global/hidden-fields.html.tmpl @@ -0,0 +1,32 @@ + +[%# 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): Myk Melez + #%] + +[%# INTERFACE: + # form: hash; the form fields/values for which to generate hidden fields. + # exclude: string; a regular expression matching fields to exclude + # from the list of hidden fields generated by this template + #%] + +[%# Generate hidden form fields for non-excluded fields. %] +[% FOREACH field = form %] + [% NEXT IF field.key.search(exclude) %] + +[% END %] diff --git a/template/en/default/global/message.html.tmpl b/template/en/default/global/message.html.tmpl new file mode 100644 index 000000000..d0c8281eb --- /dev/null +++ b/template/en/default/global/message.html.tmpl @@ -0,0 +1,17 @@ + +[% DEFAULT title = "Bugzilla Message" %] + +[% PROCESS global/header %] + +[%# The "header" template automatically displays the contents of a "message" + variable if it finds one, so it is not necessary to display the message + here. %] + +[%# Display a URL if the calling script has included one. %] +[% IF url && link %] +

+ [% link %] +

+[% END %] + +[% PROCESS global/footer %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl new file mode 100644 index 000000000..a76ad5fa7 --- /dev/null +++ b/template/en/default/global/user-error.html.tmpl @@ -0,0 +1,40 @@ + +[%# 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 %] +[% END %] + + + + + +
+ + [% error %] + +
+ +

+ Please press Back and try again. +

+ +[% INCLUDE global/footer %] diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl new file mode 100644 index 000000000..40117297c --- /dev/null +++ b/template/en/default/index.html.tmpl @@ -0,0 +1,88 @@ + +[%# -*- mode: html -*- %] +[%# 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 + # Jacob Steenhagen + #%] + +[% INCLUDE global/header + title = 'Bugzilla Main Page' +%] + + + + + + + +
+

This is where we put in lots of nifty words explaining all about Bugzilla.

+ + But it all boils down to a choice of: +

+ Query existing bug reports
+ Enter a new bug report
+ Get summary reports
+

+[% IF username %] + My Bugs
+ Change password or user preferences
+ Logout [% username FILTER html %]
+[% ELSE %] + Log in to an existing account
+ Open a new Bugzilla account
+[% END %] +

+ Add to Sidebar (Requires Mozilla or Netscape 6)
+

+
+

+ Enter a bug # or some search terms:
+ + + [Help] +

+
+
ant.jpg [8.5k]
+ + + + + +[% INCLUDE global/footer %] diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl new file mode 100644 index 000000000..d3b008c49 --- /dev/null +++ b/template/en/default/list/change-columns.html.tmpl @@ -0,0 +1,51 @@ + +[%# 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): Dave Lawrence + #%] + +[% INCLUDE global/header + title = "Change Columns" +%] + +Check which columns you wish to appear on the list, and then click +on submit. (Cookies are required.) +

+

+ +[% FOREACH column = masterlist %] + +
+[% END %] +

+ +
+ + +

+ +

+
+ + + +
+

+ +[% INCLUDE global/footer %] + diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl new file mode 100644 index 000000000..c7c8d00bf --- /dev/null +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -0,0 +1,316 @@ + +[%# 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): Myk Melez + #%] + + + +
+ +

+ To change multiple bugs: +

    +
  1. Check the bugs you want to change above.
  2. +
  3. Make your changes in the form fields below. If the change + you are making requires an explanation, include it in + the comments box.
  4. +
  5. Click the Commit button.
  6. +
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% IF Param("useqacontact") %] + + + + + [% END %] + + + + + + + + + [% IF use_keywords %] + + + + + + + [% END %] + +
+ [% PROCESS selectmenu menuname = "product" + menuitems = products %] + + [% PROCESS selectmenu menuname = "version" + menuitems = versions %] +
+ + + [% PROCESS selectmenu menuname = "rep_platform" + menuitems = platforms %] + + + + [% PROCESS selectmenu menuname = "priority" + menuitems = priorities %] +
+ [% PROCESS selectmenu menuname = "component" + menuitems = components %] + + + + [% PROCESS selectmenu menuname = "bug_severity" + menuitems = severities %] +
+ [% PROCESS selectmenu menuname = "target_milestone" + menuitems = targetmilestones %] +
+ +
+ + +
+ + + + +
+ + + +
+
+ +[% IF groups.size > 0 %] + + Groupset:
+ + + + + [% FOREACH group = groups %] + + + + [% IF group.isactive %] + + [% ELSE %] + + [% foundinactive = 1 %] + [% END %] + + + + + [% END %] + +
Don't
change
this group
restriction +
Remove
bugs
from this
group +
Add
bugs
to this
group +
Group Name: +
+ + + + + +   + [% IF group.isactive %] + [% group.description %] + [% ELSE %] + [% group.description FILTER strike %] + [% END %] +
+ + [% IF foundinactive %] + (Note: Bugs may not be added to inactive + groups, only removed.)
+ [% END %] + +[% END %] + + + +[% knum = 0 %] + +
+ +[% IF bugstatuses.size == 1 && bugstatuses.0 == unconfirmedstate %] + [% knum = knum + 1 %] + +
+[% END %] + +[% knum = knum + 1 %] + +
+ +[%# If all the bugs being changed are open, allow the user to close them. %] +[% IF !bugstatuses.containsany(closedstates) %] + [% knum = knum + 1 %] + +
+ + [% knum = knum + 1 %] + + +
+ +[% END %] + +[%# If all the bugs are closed, allow the user to reopen them. %] +[% IF !bugstatuses.containsany(openstates) %] + [% knum = knum + 1 %] + +
+[% END %] + +[% IF bugstatuses.size == 1 %] + [% IF bugstatuses.contains('RESOLVED') %] + [% knum = knum + 1 %] + +
+ [% ELSIF bugstatuses.contains('VERIFIED') %] + [% knum = knum + 1 %] + +
+ [% END %] +[% END %] + +[% knum = knum + 1 %] + + +
+ +[% knum = knum + 1 %] + +
+ + + +[% IF ismover %] + +[% END %] + + +[%############################################################################%] +[%# Select Menu Block #%] +[%############################################################################%] + +[% BLOCK selectmenu %] + +[% END %] diff --git a/template/en/default/list/list-rdf.rdf.tmpl b/template/en/default/list/list-rdf.rdf.tmpl new file mode 100644 index 000000000..c8beb50e3 --- /dev/null +++ b/template/en/default/list/list-rdf.rdf.tmpl @@ -0,0 +1,54 @@ +[% template_version = "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): Myk Melez + #%] + + + + + + + + + + [% FOREACH bug = bugs %] +
  • + + + + [% bug.id %] + + [% FOREACH column = displaycolumns %] + [% bug.$column FILTER html %] + [% END %] + + + +
  • + + [% END %] + +
    + +
    + +
    + +
    diff --git a/template/en/default/list/list-simple.html.tmpl b/template/en/default/list/list-simple.html.tmpl new file mode 100644 index 000000000..883b278d7 --- /dev/null +++ b/template/en/default/list/list-simple.html.tmpl @@ -0,0 +1,45 @@ + +[%# 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): Myk Melez + #%] + +[%############################################################################%] +[%# Initialization #%] +[%############################################################################%] + +[% DEFAULT title = "Bug List" %] +[% title = title FILTER html %] + + +[%############################################################################%] +[%# Bug Table #%] +[%############################################################################%] + + + + + [% title %] + + + + + [% PROCESS buglist/table.tmpl %] + + + diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl new file mode 100644 index 000000000..150ac2c54 --- /dev/null +++ b/template/en/default/list/list.html.tmpl @@ -0,0 +1,161 @@ + +[%# 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): Myk Melez + #%] + +[%############################################################################%] +[%# Template Initialization #%] +[%############################################################################%] + +[% DEFAULT title = "Bug List" %] +[% style_url = "css/buglist.css" %] + + +[%############################################################################%] +[%# Page Header #%] +[%############################################################################%] + +[% PROCESS global/header + title = title + style = style +%] + +
    + [% currenttime %]
    + + [% IF debug %] +

    [% query FILTER html %]

    + [% END %] + + [% IF quip %] + [% quip FILTER html %] + [% END %] + +
    + +[% IF toolong %] +

    + This list is too long for Bugzilla's little mind; the + Next/Prev/First/Last buttons won't appear on individual bugs. +

    +[% END %] + +
    + + +[%############################################################################%] +[%# Preceding Status Line #%] +[%############################################################################%] + +[% IF bugs.size > 9 %] + [% bugs.size %] bugs found. +[% END %] + + +[%############################################################################%] +[%# Start of Change Form #%] +[%############################################################################%] + +[% IF dotweak %] +
    +[% END %] + + +[%############################################################################%] +[%# Bug Table #%] +[%############################################################################%] + +[% FLUSH %] +[% PROCESS buglist/table.tmpl %] + +[%############################################################################%] +[%# Succeeding Status Line #%] +[%############################################################################%] + +[% IF bugs.size == 0 %] + Zarro Boogs found. +

    + Query Page +   Enter New Bug + Edit this query +

    + +[% ELSIF bugs.size == 1 %] + One bug found. + +[% ELSE %] + [% bugs.size %] bugs found. + +[% END %] + +
    + + +[%############################################################################%] +[%# Rest of Change Form #%] +[%############################################################################%] + +[% IF dotweak %] + + [% PROCESS "buglist/change-form.tmpl" %] + +
    + +
    + +[% END %] + + +[%############################################################################%] +[%# Navigation Bar #%] +[%############################################################################%] + +[% IF bugs.size > 0 %] +
    + + + + Query Page    + Enter New Bug    + Change Columns    + + [% IF bugs.size > 1 && caneditbugs && !dotweak %] + Change Several + Bugs at Once +    + [% END %] + + [% IF bugowners %] + Send Mail to Bug Owners    + [% END %] + + Edit this Query    + +
    + +[% END %] + + +[%############################################################################%] +[%# Page Footer #%] +[%############################################################################%] + +[% PROCESS global/footer %] + diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl new file mode 100644 index 000000000..d05557650 --- /dev/null +++ b/template/en/default/list/quips.html.tmpl @@ -0,0 +1,65 @@ + +[%# 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 = "Bugzilla Quip System" + h1 = "Add your own clever headline" + %] + +[% IF added_quip %] +

    + + Your quip '[% added_quip FILTER html %]' has been added. + +

    +[% END %] + +

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

    + +
    + + +

    + +

    +
    + +[% IF show_quips %] +

    + Existing quips: +

    +
      + [% FOREACH quip = quips %] +
    • [% quip %]
    • + [% END %] +
    +[% ELSE %] +

    + Those who like their wisdom in large doses can + view the whole quip list. +

    +[% END %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/list/server-push.html.tmpl b/template/en/default/list/server-push.html.tmpl new file mode 100644 index 000000000..5a2dde0b1 --- /dev/null +++ b/template/en/default/list/server-push.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): Myk Melez + #%] + + + + Bugzilla is pondering your query + + +

    Please stand by ...

    + + [% IF debug %] +

    + [% query FILTER html %] +

    + [% END %] + + + diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl new file mode 100644 index 000000000..2afc9bb9d --- /dev/null +++ b/template/en/default/list/table.html.tmpl @@ -0,0 +1,143 @@ + +[%# 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): Myk Melez + #%] + +[%############################################################################%] +[%# Initialization #%] +[%############################################################################%] + +[%# Columns whose titles or values should be abbreviated to make the list + # more compact. For columns whose titles should be abbreviated, + # the shortened title is included. For columns whose values should be + # abbreviated, a maximum length is provided along with the ellipsis that + # should be added to an abbreviated value, if any. + #%] +[% abbrev = + { + "severity" => { size => 3 , title => "Sev" } , + "priority" => { size => 3 , title => "Pri" } , + "platform" => { size => 3 , title => "Plt" } , + "status" => { size => 4 } , + "reporter" => { size => 45 , ellipsis => "..." } , + "owner" => { size => 45 , ellipsis => "..." } , + "qa_contact" => { size => 45 , ellipsis => "..." , title => "QAContact" } , + "resolution" => { size => 4 } , + "summary" => { size => 60 , ellipsis => "..." } , + "status_whiteboard" => { title => "StatusSummary" } , + "component" => { size => 8 , title => "Comp" } , + "product" => { size => 8 } , + "version" => { size => 5 , title => "Vers" } , + "os" => { size => 4 } , + "target_milestone" => { title => "TargetM" } , + } +%] + +[%############################################################################%] +[%# Table Header #%] +[%############################################################################%] + +[% tableheader = BLOCK %] + + + + [% FOREACH id = displaycolumns %] + + [% END %] + + + + + + [% IF splitheader %] + + [% FOREACH id = displaycolumns %] + [% NEXT IF loop.count() % 2 == 0 %] + [% column = columns.$id %] + [% PROCESS columnheader %] + [% END %] + + + + [% FOREACH id = displaycolumns %] + [% NEXT UNLESS loop.count() % 2 == 0 %] + [% column = columns.$id %] + [% PROCESS columnheader %] + [% END %] + + [% ELSE %] + + [% FOREACH id = displaycolumns %] + [% column = columns.$id %] + [% PROCESS columnheader %] + [% END %] + + [% END %] + + +[% END %] + +[% BLOCK columnheader %] + +[% END %] + + +[%############################################################################%] +[%# Bug Table #%] +[%############################################################################%] + +[% 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 %] + + + + + + [% FOREACH column = displaycolumns %] + + [% END %] + + + + [%# At the end of every hundred bugs in the list, or at the end of the list, + # end the current table. + #%] + [% IF loop.last() || loop.count() % 100 == 0 %] +
    + ID +
     
    + + [%- abbrev.$id.title || column.title -%] +
    + [% IF dotweak %][% END %] + [% bug.id %] + + [%+ bug.$column.truncate(abbrev.$column.size, abbrev.$column.ellipsis) FILTER html %] +
    + [% END %] + +[% END %] + diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl new file mode 100644 index 000000000..c9dacca10 --- /dev/null +++ b/template/en/default/reports/components.html.tmpl @@ -0,0 +1,88 @@ + +[%# 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): Bradley Baetz + #%] + +[% filtered_product = product FILTER html %] +[% INCLUDE global/header + title = "Components for $product" + h2 = filtered_product %] + +[% IF Param("useqacontact") %] + [% numcols = 3 %] +[% ELSE %] + [% numcols = 2 %] +[% END %] + +[% IF components.size == 0 %] + This product has no components. +[% ELSE %] + + + + + [% IF Param("useqacontact") %] + + [% END %] + + + [% FOREACH comp = components.sort %] + [% INCLUDE describe_comp %] + [% END %] + + + +
    ComponentDefault OwnerDefault QA Contact
    +
    +
    +[% END %] + +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# BLOCK for components %] +[%############################################################################%] + +[% BLOCK describe_comp %] + + +
    + + + + + [% comp.name FILTER html %] + + + + [% comp.initialowner FILTER html %] + + [% IF Param("useqacontact") %] + + + [% comp.initialqacontact %] + + [% END %] + + + + [% comp.description %] + + +[% END %] diff --git a/template/en/default/reports/duplicates.html.tmpl b/template/en/default/reports/duplicates.html.tmpl new file mode 100644 index 000000000..1d2e1cbb8 --- /dev/null +++ b/template/en/default/reports/duplicates.html.tmpl @@ -0,0 +1,276 @@ + +[%# 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: + # bugs: list of hashes. May be empty. Each hash has nine members: + # id: integer. The bug number + # count: integer. The number of dupes + # delta: integer. The change in count in the last $changedsince days + # component: string. The bug's component + # bug_severity: string. The bug's severity. + # op_sys: string. The bug's reported OS. + # target_milestone: string. The bug's TM. + # short_desc: string. The bug's summary. + # bug_status: string. The bug's status. + # + # bug_ids: list of integers. May be empty. The IDs of the bugs in $bugs. + # products: list of strings. The products this user can see. + # + # sortby: string. the column on which we are sorting the buglist. + # reverse: boolean. True if we are reversing the current sort. + # maxrows: integer. Max number of rows to display. + # changedsince: integer. The number of days ago for the changedsince column. + # openonly: boolean. True if we are only showing open bugs. + # product: string. Restrict to this product only. + #%] + +[% IF product %] + [% title = "Most Frequently Reported Bugs for $product" %] +[% ELSE %] + [% title = "Most Frequently Reported Bugs" %] +[% END%] + +[% INCLUDE global/header %] + +

    + What is this data? +
    + Change parameters +

    + +[%# *** Column Headers *** %] + + + + [% FOREACH column = [ { name => "id", description => "Bug #" }, + { name => "count", description => "Dupe
    Count" }, + { name => "delta", + description => "Change in last
    $changedsince day(s)" }, + { name => "component", description => "Component" }, + { name => "bug_severity", description => "Severity" }, + { name => "op_sys", description => "Op Sys" }, + { name => "target_milestone", + description => "Target
    Milestone" }, + { name => "short_desc", description => "Summary" } ] + %] + + [%# Small hack to keep delta column out if we don't need it %] + [% NEXT IF column.name == "delta" AND NOT dobefore %] + + + [% END %] + + +[% IF NOT sortby %] + [% sortby = "count"; reverse = "1" %] +[% END %] + +[% IF sortby == "id" OR sortby == "count" OR sortby == "delta" %] + [%# Numeric sort %] + [% sortedbugs = bugs.nsort(sortby) %] +[% ELSE %] + [% sortedbugs = bugs.sort(sortby) %] +[% END %] + +[% IF reverse %] + [% bugs = sortedbugs.reverse %] +[% ELSE %] + [% bugs = sortedbugs %] +[% END %] + +[%# *** Buglist *** %] + +[%# We need to keep track of the bug IDs we are actually displaying, because + # if the user decides to sort the visible list, we need to know what that + # list actually is. %] +[% vis_bug_ids = [] %] + +[% FOREACH bug = bugs %] + [% LAST IF loop.index() >= maxrows %] + [% vis_bug_ids.push(bug.id) %] + + + + + + + [% IF dobefore %] + + [% END %] + + + + + + + +[% END %] + +
    +
    + + [% bug_ids_string = bug_ids.join(',') %] + + [% column.description %] + +
    +
    +
    + [% "" IF bug.resolution != "" %] + [% bug.id %] + [% "" IF bug.resolution != "" %] +
    +
    +
    + [% bug.count %] +
    +
    [% bug.delta %]
    [% bug.component %]
    [% bug.bug_severity %]
    [% bug.op_sys %]
    [% bug.target_milestone %]
    [% bug.short_desc FILTER html %]
    + +
    +
    + +[%# *** Parameters *** %] + +[% bug_ids_string = vis_bug_ids.join(',') %] + +

    Change Parameters

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    When sorting or restricting, + work with: + + +
    + + +
    Restrict to products: + +
    Max rows: + +
    Change column is change in the last: + days +
    + + + +
    + + +
    + +
    + + + Or just give this to me as a . + (Note: the order may not be the same.) +
    + +
    + + + What are "Most Frequently Reported Bugs"? + + +
    + The Most Frequent Bugs page lists the known open bugs which + are reported most frequently in recent builds of Mozilla. It is + automatically generated from the Bugzilla database every 24 hours, by + counting the number of direct and indirect duplicates of bugs. + This information is provided in order to assist in minimizing + the amount of duplicate bugs entered into Bugzilla which in turn cuts down + on development time. +
    + +How do I use this list? + +
      +
    • Review the most frequent bugs list.
    • +
    • If problem is listed:
    • + +
        +
      • Click on Bug # link to confirm that you have found the same bug and + comment if you have additional information. Or move on with your testing + of the product. +
      • +
      + +
    • If problem not listed:
    • + +
        +
      • Go to the Bugzilla Search + page to try and locate a similar bug that has already been written.
      • +
      • If you find your bug in Bugzilla, feel free to comment with any new or + additional data you may have.
      • +
      • If you cannot find your problem already documented in Bugzilla, go to + the + Bugzilla + Helper + and post a new bug.
      • +
      +
    + +[% INCLUDE global/footer %] diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl new file mode 100644 index 000000000..1769df85d --- /dev/null +++ b/template/en/default/reports/keywords.html.tmpl @@ -0,0 +1,75 @@ + +[%# 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: + # keywords: array of hashes. May be empty. Each has has three members: + # name: the name of the keyword + # description: keyword description. May be HTML. + # bugcount: number of bugs with that keyword + # caneditkeywords: boolean. True if this user can edit keywords + %] + +[% INCLUDE global/header + title = "Bugzilla Keyword Descriptions" +%] + +[% FOREACH keyword = keywords %] + [% IF loop.index % 50 == 0 %] + [% IF loop.index != 0 %] + + [% END %] + + + + + + + + [% END %] + + + + + + +[% END %] + +[% IF keywords.size > 0 %] +
    NameDescriptionBugs
    + + [% keyword.name FILTER html %] + [% keyword.description %] + [% IF keyword.bugcount > 0 %] + + [% keyword.bugcount %] + [% ELSE %] + none + [% END %] +
    +[% END %] + +[% IF caneditkeywords %] +

    + Edit keywords. +

    +[% END %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl new file mode 100644 index 000000000..85e66356b --- /dev/null +++ b/template/en/default/search/search-advanced.html.tmpl @@ -0,0 +1,869 @@ + +[%# 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): Chris Lahey [javascript fixes] + # Christian Reis [javascript rewrite] + # Gervase Markham + #%] + +[% INCLUDE global/header + title = "Search for bugs" + extra = " onLoad=\"selectProduct(document.forms['queryform']);\"" +%] + +[%# Note: use Template comments and not JS ones here, to avoid bloating + what we actually send to the browser %] + + + +[% query_variants = [ + { value => "allwordssubstr", description => "contains all of the words/strings" }, + { value => "anywordssubstr", description => "contains any of the words/strings" }, + { value => "substring", description => "contains the string" }, + { value => "casesubstring", description => "contains the string (exact case)" }, + { value => "allwords", description => "contains all of the words" }, + { value => "anywords", description => "contains any of the words" }, + { value => "regexp", description => "matches the regexp" }, + { value => "notregexp", description => "doesn’t match the regexp" } ] %] + +[%# The decent help requires Javascript %] + + + +
    + +[%# *** Summary *** %] + + + + + + + + + +[%# *** Product Component Version Target *** %] + + + + + +[%# *** Comment URL Whiteboard Keywords *** %] + + [% FOREACH field = [ + { name => "long_desc", description => "A comment" }, + { name => "bug_file_loc", description => "The URL" }, + { name => "status_whiteboard", description => "Whiteboard" } ] %] + + [% UNLESS field.name == 'status_whiteboard' AND NOT Param('usestatuswhiteboard') %] + + + + + + + [% END %] + [% END %] + + [% IF have_keywords %] + + + + + + [% END %] +
    Summary: + + + + + +
    + + + + + + + [% IF (Param("usetargetmilestone")) %] + + [% END %] + + + + + [%# Can't use the select block here because of onChange and the fact that + 'component' is a toolkit reserved word - we use 'component_' instead. %] + + + + + [% PROCESS select sel = { name => 'version', size => 5 } %] + + [% IF Param('usetargetmilestone') && target_milestone.size > 0 %] + [% PROCESS select sel = { name => 'target_milestone', size => 5 } %] + [% END %] + +
    Product:Component:Version:Target:
    + + + +
    +
    [% field.description %]: + + +
    Keywords: + + + +
    + +
    + +[%# *** Status Resolution Severity Priority Hardware OS *** %] + + + + + + + + + + + + + [% PROCESS select sel = { name => 'bug_status', size => 7 } %] + [% PROCESS select sel = { name => 'resolution', size => 7 } %] + [% PROCESS select sel = { name => 'bug_severity', size => 7 } %] + [% PROCESS select sel = { name => 'priority', size => 7 } %] + [% PROCESS select sel = { name => 'rep_platform', size => 7 } %] + [% PROCESS select sel = { name => 'op_sys', size => 7 } %] + +
    Status:Resolution:Severity:Priority:Hardware:OS:
    + +

    + +[%# *** Email Numbering Votes *** %] + + + + + +[%# *** Bug Changes *** %] + + + + +[%# *** Action Selection *** %] + + + + +
    +
    + + + Email and Numbering + + + + + + + [% FOREACH n = [1, 2] %] + + [% END %] + +
    + + + + + + + + + + + + + [% IF Param('useqacontact') %] + + + + [% END %] + + + + + + + + + + + + +
    + Any of: +
    + + +
    + + +
    + + +
    + + +
    + + +
    + +
    + +
    + + +
    +
    + + + + + + + + + + + + + +
    + + bugs numbered: + + +
    (comma-separated list)
    + Only bugs with at least: + + votes +
    + + +
    +
    +
    + Bug Changes + + +
    +
    Only bugs changed in the last
    +
    days
    +
    + +
    +
    Only bugs where any of the fields
    +
    + +
    + +
    were changed between
    +
    + + and +
    (YYYY-MM-DD) +
    +
    to this value: (optional)
    +
    + +
    +
    + + +
    +
    + + [% IF NOT userid %] + + [% ELSE %] +
    + Run this query +
    + + [% IF namedqueries.size > 0 %] +

    + + + + + + + + + + + +
    + + Load my remembered query: + + +
    + + Run my remembered query: +
    + + Forget my remembered query: +
    +

    + [% END %] + + + Remember this as my default query +
    + + Remember this query, and name it: + +
          + and put it in my page footer +
    + [% END %] +
    +
    + Sort results by: + + + + [% IF userdefaultquery %] +

    + + Set my default query back to the system default +

    + [% END %] +
    +
    + +[%# *** Boolean Charts *** %] + +


    + +[% types = [ + { name => "noop", description => "---" }, + { name => "equals", description => "is equal to" }, + { name => "notequals", description => "is not equal to" }, + { name => "substring", description => "contains the string" }, + { name => "casesubstring", description => "contains the string (exact case)" }, + { name => "notsubstring", description => "does not contain the string" }, + { name => "allwordssubstr", description => "contains all of the strings" }, + { name => "anywordssubstr", description => "contains any of the strings" }, + { name => "regexp", description => "contains regexp" }, + { name => "notregexp", description => "does not contain regexp" }, + { name => "lessthan", description => "is less than" }, + { name => "greaterthan", description => "is greater than" }, + { name => "anywords", description => "contains any of the words" }, + { name => "allwords", description => "contains all of the words" }, + { name => "nowords", description => "contains none of the words" }, + { name => "changedbefore", description => "changed before" }, + { name => "changedafter", description => "changed after" }, + { name => "changedfrom", description => "changed from" }, + { name => "changedto", description => "changed to" }, + { name => "changedby", description => "changed by" } ] %] + +

    + + + Advanced Querying Using Boolean Charts: + +

    + +[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] + +[% jsmagic = "onclick=\"document.forms[0].action='query.cgi#chart'; document.forms[0].method='POST'; return 1;\"" %] + +[% FOREACH chart = default.charts %] + [% chartnum = loop.count - 1 %] + + [% FOREACH row = chart %] + [% rownum = loop.count - 1 %] + + [% FOREACH col = row %] + [% colnum = loop.count - 1 %] + + + [% IF NOT col == row.last %] + + [% ELSE %] + + [% END %] + + [% END %] + + + [% IF NOT row == chart.last %] + + + + [% ELSE %] + + + + [% END %] + + [% END %] +
    + + + + + + + Or + + [% newor = colnum + 1 %] + +
    And
    + [% newand = rownum + 1; newchart = chartnum + 1 %] + +       + +       +
    +
    +[% END %] + +

    Give me a clue about how to use this form.

    + +
    + +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + + + +[% END %] diff --git a/template/en/default/search/search.html.tmpl b/template/en/default/search/search.html.tmpl new file mode 100644 index 000000000..85e66356b --- /dev/null +++ b/template/en/default/search/search.html.tmpl @@ -0,0 +1,869 @@ + +[%# 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): Chris Lahey [javascript fixes] + # Christian Reis [javascript rewrite] + # Gervase Markham + #%] + +[% INCLUDE global/header + title = "Search for bugs" + extra = " onLoad=\"selectProduct(document.forms['queryform']);\"" +%] + +[%# Note: use Template comments and not JS ones here, to avoid bloating + what we actually send to the browser %] + + + +[% query_variants = [ + { value => "allwordssubstr", description => "contains all of the words/strings" }, + { value => "anywordssubstr", description => "contains any of the words/strings" }, + { value => "substring", description => "contains the string" }, + { value => "casesubstring", description => "contains the string (exact case)" }, + { value => "allwords", description => "contains all of the words" }, + { value => "anywords", description => "contains any of the words" }, + { value => "regexp", description => "matches the regexp" }, + { value => "notregexp", description => "doesn’t match the regexp" } ] %] + +[%# The decent help requires Javascript %] + + + +
    + +[%# *** Summary *** %] + + + + + + + + + +[%# *** Product Component Version Target *** %] + + + + + +[%# *** Comment URL Whiteboard Keywords *** %] + + [% FOREACH field = [ + { name => "long_desc", description => "A comment" }, + { name => "bug_file_loc", description => "The URL" }, + { name => "status_whiteboard", description => "Whiteboard" } ] %] + + [% UNLESS field.name == 'status_whiteboard' AND NOT Param('usestatuswhiteboard') %] + + + + + + + [% END %] + [% END %] + + [% IF have_keywords %] + + + + + + [% END %] +
    Summary: + + + + + +
    + + + + + + + [% IF (Param("usetargetmilestone")) %] + + [% END %] + + + + + [%# Can't use the select block here because of onChange and the fact that + 'component' is a toolkit reserved word - we use 'component_' instead. %] + + + + + [% PROCESS select sel = { name => 'version', size => 5 } %] + + [% IF Param('usetargetmilestone') && target_milestone.size > 0 %] + [% PROCESS select sel = { name => 'target_milestone', size => 5 } %] + [% END %] + +
    Product:Component:Version:Target:
    + + + +
    +
    [% field.description %]: + + +
    Keywords: + + + +
    + +
    + +[%# *** Status Resolution Severity Priority Hardware OS *** %] + + + + + + + + + + + + + [% PROCESS select sel = { name => 'bug_status', size => 7 } %] + [% PROCESS select sel = { name => 'resolution', size => 7 } %] + [% PROCESS select sel = { name => 'bug_severity', size => 7 } %] + [% PROCESS select sel = { name => 'priority', size => 7 } %] + [% PROCESS select sel = { name => 'rep_platform', size => 7 } %] + [% PROCESS select sel = { name => 'op_sys', size => 7 } %] + +
    Status:Resolution:Severity:Priority:Hardware:OS:
    + +

    + +[%# *** Email Numbering Votes *** %] + + + + + +[%# *** Bug Changes *** %] + + + + +[%# *** Action Selection *** %] + + + + +
    +
    + + + Email and Numbering + + + + + + + [% FOREACH n = [1, 2] %] + + [% END %] + +
    + + + + + + + + + + + + + [% IF Param('useqacontact') %] + + + + [% END %] + + + + + + + + + + + + +
    + Any of: +
    + + +
    + + +
    + + +
    + + +
    + + +
    + +
    + +
    + + +
    +
    + + + + + + + + + + + + + +
    + + bugs numbered: + + +
    (comma-separated list)
    + Only bugs with at least: + + votes +
    + + +
    +
    +
    + Bug Changes + + +
    +
    Only bugs changed in the last
    +
    days
    +
    + +
    +
    Only bugs where any of the fields
    +
    + +
    + +
    were changed between
    +
    + + and +
    (YYYY-MM-DD) +
    +
    to this value: (optional)
    +
    + +
    +
    + + +
    +
    + + [% IF NOT userid %] + + [% ELSE %] +
    + Run this query +
    + + [% IF namedqueries.size > 0 %] +

    + + + + + + + + + + + +
    + + Load my remembered query: + + +
    + + Run my remembered query: +
    + + Forget my remembered query: +
    +

    + [% END %] + + + Remember this as my default query +
    + + Remember this query, and name it: + +
          + and put it in my page footer +
    + [% END %] +
    +
    + Sort results by: + + + + [% IF userdefaultquery %] +

    + + Set my default query back to the system default +

    + [% END %] +
    +
    + +[%# *** Boolean Charts *** %] + +


    + +[% types = [ + { name => "noop", description => "---" }, + { name => "equals", description => "is equal to" }, + { name => "notequals", description => "is not equal to" }, + { name => "substring", description => "contains the string" }, + { name => "casesubstring", description => "contains the string (exact case)" }, + { name => "notsubstring", description => "does not contain the string" }, + { name => "allwordssubstr", description => "contains all of the strings" }, + { name => "anywordssubstr", description => "contains any of the strings" }, + { name => "regexp", description => "contains regexp" }, + { name => "notregexp", description => "does not contain regexp" }, + { name => "lessthan", description => "is less than" }, + { name => "greaterthan", description => "is greater than" }, + { name => "anywords", description => "contains any of the words" }, + { name => "allwords", description => "contains all of the words" }, + { name => "nowords", description => "contains none of the words" }, + { name => "changedbefore", description => "changed before" }, + { name => "changedafter", description => "changed after" }, + { name => "changedfrom", description => "changed from" }, + { name => "changedto", description => "changed to" }, + { name => "changedby", description => "changed by" } ] %] + +

    + + + Advanced Querying Using Boolean Charts: + +

    + +[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] + +[% jsmagic = "onclick=\"document.forms[0].action='query.cgi#chart'; document.forms[0].method='POST'; return 1;\"" %] + +[% FOREACH chart = default.charts %] + [% chartnum = loop.count - 1 %] + + [% FOREACH row = chart %] + [% rownum = loop.count - 1 %] + + [% FOREACH col = row %] + [% colnum = loop.count - 1 %] + + + [% IF NOT col == row.last %] + + [% ELSE %] + + [% END %] + + [% END %] + + + [% IF NOT row == chart.last %] + + + + [% ELSE %] + + + + [% END %] + + [% END %] +
    + + + + + + + Or + + [% newor = colnum + 1 %] + +
    And
    + [% newand = rownum + 1; newchart = chartnum + 1 %] + +       + +       +
    +
    +[% END %] + +

    Give me a clue about how to use this form.

    + +
    + +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + + + +[% END %] diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl new file mode 100644 index 000000000..02ee1bf9b --- /dev/null +++ b/template/en/default/sidebar.xul.tmpl @@ -0,0 +1,123 @@ +[% template_version = "1.0@bugzilla.org" %] +[%# -*- mode: sgml -*- %] +[%# 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): Jacob Steenhagen + # Scott Collins + #%] + + + + + + +// Load QuickSearch libraries + + + + + + + + + + + + + +[% IF username %] + +[% END %] +[% IF UserInGroup('tweakparams') %] + +[% END %] +[% IF UserInGroup('editusers') || blessgroupset %] + +[% END %] +[% IF UserInGroup('editcomponents') %] + +[% END %] +[% IF UserInGroup('creategroups') %] + +[% END %] +[% IF UserInGroup('editkeywords') %] + +[% END %] +[% IF UserInGroup('tweakparams') %] + +[% END %] +[% IF username %] + + +[% END %] + +[% IF mybugsurl %] + +[% END %] +[% IF anyvotesallowed && username %] + +[% END %] + +[% FOREACH name = namedqueries %] + +[% END %] + +[% IF NOT username %] + + +[% END %] + + + + + + + + + reload + + + -- cgit v1.2.3-24-g4f1b