[PATCH 17 of 54] Small template correction
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 7 10:56:34 CET 2015
# HG changeset patch
# User Benoît Allard <benoit.allard at greenbone.net>
# Date 1413298021 -7200
# Node ID 858d8c0b49e25b79eeb651d027529376bad7056f
# Parent dcc946b3034362908e1d08a169a863737a8b94ed
Small template correction
diff -r dcc946b30343 -r 858d8c0b49e2 farolluz/templates/cvrf.j2
--- 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 %}
More information about the Farol-commits
mailing list