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
# Contributor(s): Frédéric Buclin <LpSolit@gmail.com>
18
# custom_fields: a list of Bugzilla::Field objects, representing custom fields.
21
[% PROCESS "global/field-descs.none.tmpl" %]
23
[% PROCESS global/header.html.tmpl title = "Custom Fields" %]
28
heading => "Edit custom field..."
29
contentlink => "editfields.cgi?action=edit&name=%%name%%"
33
heading => "Description"
45
heading => "Editable on $terms.Bug Creation"
49
heading => "In ${terms.Bug}mail on $terms.Bug Creation"
53
heading => "Is Obsolete"
59
[% custom_fields = Bugzilla.get_fields({ custom => 1 }) %]
61
[%# We want to display the type name of fields, not their type ID. %]
62
[% overrides.type = [] %]
64
[% FOREACH field_type = field_types.keys %]
65
[% overrides.type.push({
66
match_value => field_type
69
content => field_types.${field_type}
74
[% PROCESS admin/table.html.tmpl
81
<a href="editfields.cgi?action=add">Add a new custom field</a>
84
[% PROCESS global/footer.html.tmpl %]