diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/admin/components/list.html.tmpl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl index 0161ee6f2..632d47e6e 100644 --- a/template/en/default/admin/components/list.html.tmpl +++ b/template/en/default/admin/components/list.html.tmpl @@ -89,15 +89,16 @@ [% overrides.initialowner = {} %] [% overrides.initialqacontact = {} %] -[% FOREACH component = product.components %] - [% overrides.initialowner.name.${component.name} = { +[%# "component" is a reserved word in Template Toolkit. %] +[% FOREACH my_component = product.components %] + [% overrides.initialowner.name.${my_component.name} = { override_content => 1 - content => component.default_assignee.login + content => my_component.default_assignee.login } %] - [% overrides.initialqacontact.name.${component.name} = { + [% overrides.initialqacontact.name.${my_component.name} = { override_content => 1 - content => component.default_qa_contact.login + content => my_component.default_qa_contact.login } %] [% END %] |