summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/fieldvalues/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/fieldvalues/list.html.tmpl')
-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 %]