summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/components/list.html.tmpl')
-rw-r--r--template/en/default/admin/components/list.html.tmpl16
1 files changed, 6 insertions, 10 deletions
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl
index 990b07997..d4bf11748 100644
--- a/template/en/default/admin/components/list.html.tmpl
+++ b/template/en/default/admin/components/list.html.tmpl
@@ -86,23 +86,19 @@
}) %]
[%# Overrides the initialowner and the initialqacontact with right values %]
-[% overrides.initialowner = [] %]
-[% overrides.initialqacontact = [] %]
+[% overrides.initialowner = {} %]
+[% overrides.initialqacontact = {} %]
[% FOREACH component = product.components %]
- [% overrides.initialowner.push({
- match_value => component.name
- match_field => 'name'
+ [% overrides.initialowner.name.${component.name} = {
override_content => 1
content => component.default_assignee.login
- })
+ }
%]
- [% overrides.initialqacontact.push({
- match_value => component.name
- match_field => 'name'
+ [% overrides.initialqacontact.name.${component.name} = {
override_content => 1
content => component.default_qa_contact.login
- })
+ }
%]
[% END %]