Mercurial > farol > farolluz
changeset 10:7998a57c9b48
Output multiple Name and Organization per Acknowledgment
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Wed, 08 Oct 2014 12:45:19 +0200 |
parents | 4c6e15514a6d |
children | 91d2a97f8bb4 |
files | farolluz/templates/cvrf.j2 |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/farolluz/templates/cvrf.j2 Wed Oct 08 12:44:20 2014 +0200 +++ b/farolluz/templates/cvrf.j2 Wed Oct 08 12:45:19 2014 +0200 @@ -118,12 +118,12 @@ <Acknowledgments> {%- for acknowledgment in cvrf._acknowledgments %} <Acknowledgment> - {%- if acknowledgment._name %} - <Name>{{ acknowledgment._name }}</Name> - {%- endif %} - {%- if acknowledgment._organization %} - <Organization>{{ acknowledgment._organization }}</Organization> - {%- endif %} + {%- for name in acknowledgment._names %} + <Name>{{ name }}</Name> + {%- endfor %} + {%- for organization in acknowledgment._organizations %} + <Organization>{{ organization }}</Organization> + {%- endfor %} {%- if acknowledgment._description %} <Description>{{ acknowledgment._description }}</Description> {%- endif %}