summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/fieldvalues
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-06-25 03:01:18 +0200
committerlpsolit%gmail.com <>2009-06-25 03:01:18 +0200
commitcb0d7389a091eb807d8a54e91d9487470ac362b3 (patch)
tree465355d373e81882050c86cf49cfe00985a12534 /template/en/default/admin/fieldvalues
parent0ccecfb569714e133ffedbc0eb9a7a88c5abba19 (diff)
downloadbugzilla-cb0d7389a091eb807d8a54e91d9487470ac362b3.tar.gz
bugzilla-cb0d7389a091eb807d8a54e91d9487470ac362b3.tar.xz
Bug 304267: Large lists in admin pages fail to display (they take too much time) - Patch by Michael Thomas <mockodin@gmail.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/admin/fieldvalues')
-rw-r--r--template/en/default/admin/fieldvalues/list.html.tmpl22
1 files changed, 9 insertions, 13 deletions
diff --git a/template/en/default/admin/fieldvalues/list.html.tmpl b/template/en/default/admin/fieldvalues/list.html.tmpl
index 976b58ae7..fdc22d912 100644
--- a/template/en/default/admin/fieldvalues/list.html.tmpl
+++ b/template/en/default/admin/fieldvalues/list.html.tmpl
@@ -59,27 +59,23 @@
%]
-[% SET overrides.action = [] %]
+[% SET overrides.action = {} %]
[% FOREACH check_value = values %]
-
[% IF check_value.is_static %]
- [% overrides.action.push({
- match_value => check_value.name
- match_field => 'name'
+ [% overrides.action.name.${check_value.name} = {
override_content => 1
content => "(Non-deletable value)"
override_contentlink => 1
contentlink => undef
- })
+ }
%]
[% ELSIF check_value.is_default %]
- [% overrides.action.push({
- match_value => check_value.name
- match_field => 'name'
- override_content => 1
- content => "(Default value)"
- override_contentlink => 1
- contentlink => undef })
+ [% overrides.action.name.${check_value.name} = {
+ override_content => 1
+ content => "(Default value)"
+ override_contentlink => 1
+ contentlink => undef
+ }
%]
[% END %]