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.tmpl26
1 files changed, 12 insertions, 14 deletions
diff --git a/template/en/default/admin/custom_fields/list.html.tmpl b/template/en/default/admin/custom_fields/list.html.tmpl
index 6f2e68be7..dd266c759 100644
--- a/template/en/default/admin/custom_fields/list.html.tmpl
+++ b/template/en/default/admin/custom_fields/list.html.tmpl
@@ -68,27 +68,25 @@
[% custom_fields = Bugzilla.get_fields({ custom => 1 }) %]
[%# We want to display the type name of fields, not their type ID. %]
-[% overrides.type = [] %]
+[% overrides.type = {} %]
[% FOREACH field_type = field_types.keys %]
- [% overrides.type.push({
- match_value => field_type
- match_field => 'type'
+ [% overrides.type.type.$field_type = {
override_content => 1
- content => field_types.${field_type}
- })
+ content => field_types.$field_type
+ }
%]
[% END %]
-[% overrides.action = [ {
- match_value => 1
- match_field => 'obsolete'
- override_content => 1
- content => "Delete"
- override_contentlink => 1
- contentlink => delete_contentlink
- } ]
+[% overrides.action.obsolete = {
+ "1" => {
+ override_content => 1
+ content => "Delete"
+ override_contentlink => 1
+ contentlink => delete_contentlink
+ }
+ }
%]
[% PROCESS admin/table.html.tmpl