summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/custom_fields/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/custom_fields/list.html.tmpl')
-rw-r--r--template/en/default/admin/custom_fields/list.html.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/template/en/default/admin/custom_fields/list.html.tmpl b/template/en/default/admin/custom_fields/list.html.tmpl
index e02609dd3..2f64b0f06 100644
--- a/template/en/default/admin/custom_fields/list.html.tmpl
+++ b/template/en/default/admin/custom_fields/list.html.tmpl
@@ -37,6 +37,10 @@
heading => "Sortkey"
},
{
+ name => "type_name"
+ heading => "Type"
+ },
+ {
name => "enter_bug"
heading => "Editable on Bug Creation"
},
@@ -51,6 +55,14 @@
]
%]
+[% USE Bugzilla %]
+[% custom_fields = Bugzilla.get_fields({ custom => 1 }) %]
+
+[%# We want to display the type name of fields, not their type ID. %]
+[% FOREACH cf_field = custom_fields %]
+ [% cf_field.type_name = field_types.${cf_field.type} %]
+[% END %]
+
[% PROCESS admin/table.html.tmpl
columns = columns
data = custom_fields