summaryrefslogtreecommitdiffstats
path: root/template/en/default/config.rdf.tmpl
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-10-01 12:55:57 +0200
committerSimon Green <sgreen@redhat.com>2014-10-01 12:55:57 +0200
commita9efeb7460d263ed929947f9ca380a9616584f91 (patch)
tree698121260cf49d2cc527f929121597a00d0f806e /template/en/default/config.rdf.tmpl
parent0ff4174b5ea7f839562f5109defab1c2ac92e735 (diff)
downloadbugzilla-a9efeb7460d263ed929947f9ca380a9616584f91.tar.gz
bugzilla-a9efeb7460d263ed929947f9ca380a9616584f91.tar.xz
Bug 1069760 - Cannot use 'component' in a template
r=gerv, a=justdave
Diffstat (limited to 'template/en/default/config.rdf.tmpl')
-rw-r--r--template/en/default/config.rdf.tmpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl
index b14d0d056..0d183cf56 100644
--- a/template/en/default/config.rdf.tmpl
+++ b/template/en/default/config.rdf.tmpl
@@ -139,8 +139,8 @@
[% END %]
<bz:components>
<Seq>
- [% FOREACH component = product.components %]
- <li resource="[% escaped_urlbase %]component.cgi?name=[% component.name FILTER uri
+ [% FOREACH comp = product.components %]
+ <li resource="[% escaped_urlbase %]component.cgi?name=[% comp.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]"/>
[% END %]
</Seq>
@@ -176,16 +176,16 @@
<bz:components>
<Seq>
[% FOREACH product = products %]
- [% FOREACH component = product.components %]
+ [% FOREACH comp = product.components %]
<li>
- <bz:component rdf:about="[% escaped_urlbase %]component.cgi?name=[% component.name FILTER uri
+ <bz:component rdf:about="[% escaped_urlbase %]component.cgi?name=[% comp.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]">
- <bz:name>[% component.name FILTER html %]</bz:name>
- <bz:is_active>[% component.is_active FILTER html %]</bz:is_active>
+ <bz:name>[% comp.name FILTER html %]</bz:name>
+ <bz:is_active>[% comp.is_active FILTER html %]</bz:is_active>
[% IF show_flags %]
<bz:flag_types>
<Seq>
- [% flag_types = component.flag_types.bug.merge(component.flag_types.attachment) %]
+ [% flag_types = comp.flag_types.bug.merge(comp.flag_types.attachment) %]
[% FOREACH flag_type = flag_types %]
[% NEXT UNLESS flag_type.is_active %]
[% all_visible_flag_types.${flag_type.id} = flag_type %]