changeset 16:858d8c0b49e2

Small template correction
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 14 Oct 2014 16:47:01 +0200
parents dcc946b30343
children 90852c11fabd
files farolluz/templates/cvrf.j2
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/farolluz/templates/cvrf.j2	Thu Oct 09 14:21:07 2014 +0200
+++ b/farolluz/templates/cvrf.j2	Tue Oct 14 16:47:01 2014 +0200
@@ -153,8 +153,8 @@
       {{- FullProductNames(producttree, branch) }}
     </Branch>
     {%- endfor %}
-    {{ FullProductNames(producttree, producttree) }}
-    {%- for relationship in producttree._relationships -%}
+    {{- FullProductNames(producttree, producttree) }}
+    {%- for relationship in producttree._relationships %}
     <Relationship{{ {'ProductReference': relationship._productreference, 'RelationType': relationship._relationtype, 'RelatesToProductReference': relationship._relatestoproductreference} | xmlattr }}>
       {{- FullProductNames(producttree, relationship) }}
     </Relationship>
@@ -162,7 +162,7 @@
     {%- if producttree._groups %}
     <ProductGroups>
       {%- for group in producttree._groups %}
-      <Group{{ {'GroupID': group._id} | xmlattr }}>
+      <Group{{ {'GroupID': group._groupid} | xmlattr }}>
         {%- if group._description %}
         <Description>{{ group._description }}</Description>
         {%- endif %}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)