1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gervase Markham <gerv@gerv.net>
22
[%# Remember to PROCESS rather than INCLUDE this template. %]
24
[% PROCESS global/variables.none.tmpl %]
26
[% field_descs = { "[Bug creation]" => "[$terms.Bug creation]",
27
"actual_time" => "Actual Hours"
29
"assigned_to" => "Assignee",
30
"blocked" => "Blocks",
31
"bug_file_loc" => "URL",
32
"bug_id" => "$terms.Bug ID",
33
"bug_severity" => "Severity",
34
"bug_status" => "Status",
35
"changeddate" => "Changed",
37
"classification" => "Classification",
38
"cclist_accessible" => "CC list accessible?",
39
"component_id" => "Component ID",
40
"component" => "Component",
41
"creation_ts" => "$terms.Bug Creation time",
42
"deadline" => "Deadline",
43
"delta_ts" => "Changed",
44
"dependson" => "Depends on",
45
"dup_id" => "Duplicate",
46
"estimated_time" => "Orig. Est.",
47
"everconfirmed" => "Ever confirmed?",
48
"groupset" => "Groupset",
49
"keywords" => "Keywords",
52
"opendate" => "Opened",
53
"percentage_complete" => "%Complete",
54
"priority" => "Priority",
55
"product_id" => "Product ID",
56
"product" => "Product",
57
"qa_contact" => "QA Contact",
58
"remaining_time" => "Hours Left",
59
"rep_platform" => "Hardware",
60
"reporter" => "Reporter",
61
"reporter_accessible" => "Reporter accessible?",
62
"resolution" => "Resolution",
63
"setting" => "Setting",
64
"settings" => "Settings",
65
"short_desc" => "Summary",
66
"status_whiteboard" => "Whiteboard",
67
"target_milestone" => "Target Milestone",
68
"version" => "Version",
70
"work_time" => "Hours Worked"} %]
72
[%# Also include any custom fields or fields which don't have a
73
Description here, by copying their Description from the
74
database. If you want to override this for your language
75
or your installation, just use a hook. %]
78
[% FOREACH bz_field = Bugzilla.get_fields() %]
79
[% SET field_descs.${bz_field.name} = bz_field.description
80
IF !field_descs.${bz_field.name}.defined %]
83
[% field_types = { ${constants.FIELD_TYPE_UNKNOWN} => "Unknown Type",
84
${constants.FIELD_TYPE_FREETEXT} => "Free Text",
85
${constants.FIELD_TYPE_SINGLE_SELECT} => "Drop Down" } %]
87
[% status_descs = { "UNCONFIRMED" => "UNCONFIRMED",
89
"ASSIGNED" => "ASSIGNED",
90
"REOPENED" => "REOPENED",
91
"RESOLVED" => "RESOLVED",
92
"VERIFIED" => "VERIFIED",
93
"CLOSED" => "CLOSED" } %]
95
[% resolution_descs = { "FIXED" => "FIXED",
96
"INVALID" => "INVALID",
97
"WONTFIX" => "WONTFIX",
98
"DUPLICATE" => "DUPLICATE",
99
"WORKSFORME" => "WORKSFORME",
104
[% MACRO get_resolution(res) GET resolution_descs.$res || res %]
106
[% Hook.process("end") %]