Mercurial > farol > farolluz
comparison farolluz/templates/cvrf.j2 @ 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 | c5cf387b5785 |
children | 91d2a97f8bb4 |
comparison
equal
deleted
inserted
replaced
9:4c6e15514a6d | 10:7998a57c9b48 |
---|---|
116 {%- endif %} | 116 {%- endif %} |
117 {%- if cvrf._acknowledgments %} | 117 {%- if cvrf._acknowledgments %} |
118 <Acknowledgments> | 118 <Acknowledgments> |
119 {%- for acknowledgment in cvrf._acknowledgments %} | 119 {%- for acknowledgment in cvrf._acknowledgments %} |
120 <Acknowledgment> | 120 <Acknowledgment> |
121 {%- if acknowledgment._name %} | 121 {%- for name in acknowledgment._names %} |
122 <Name>{{ acknowledgment._name }}</Name> | 122 <Name>{{ name }}</Name> |
123 {%- endif %} | 123 {%- endfor %} |
124 {%- if acknowledgment._organization %} | 124 {%- for organization in acknowledgment._organizations %} |
125 <Organization>{{ acknowledgment._organization }}</Organization> | 125 <Organization>{{ organization }}</Organization> |
126 {%- endif %} | 126 {%- endfor %} |
127 {%- if acknowledgment._description %} | 127 {%- if acknowledgment._description %} |
128 <Description>{{ acknowledgment._description }}</Description> | 128 <Description>{{ acknowledgment._description }}</Description> |
129 {%- endif %} | 129 {%- endif %} |
130 {%- if acknowledgment._url %} | 130 {%- if acknowledgment._url %} |
131 <URL>{{ acknowledgment._url }}</URL> | 131 <URL>{{ acknowledgment._url }}</URL> |