diff farol/templates/vulnerability/view_acknowledgment.j2 @ 64:aad7db3f93b6

Add support for Acknowledgments with multiple names and organizations
author Benoît Allard <benoit.allard@greenbone.net>
date Wed, 08 Oct 2014 14:28:29 +0200
parents 4a9f23230eba
children 4ec281e68821
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_acknowledgment.j2	Wed Oct 08 14:15:16 2014 +0200
+++ b/farol/templates/vulnerability/view_acknowledgment.j2	Wed Oct 08 14:28:29 2014 +0200
@@ -30,7 +30,7 @@
 {% block i_content %}
 <a class="pull-right" href="{{ url_for('.edit_acknowledgment', ordinal=ordinal, index=index) }}">edit</a>
 <div class='page-header'>
-  <h1>{{ acknowledgment._name }} <small>{{ acknowledgment._organization }}</small></h1>
+  <h1>{{ acknowledgment._names | join(', ') }} <small>{{ acknowledgment._organizations | join(', ') }}</small></h1>
 </div>
 <div class="form-horizontal">
   {{ label_value('Description', acknowledgment._description or '') }}

http://farol.wald.intevation.org