comparison 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
comparison
equal deleted inserted replaced
63:b4fb652484b4 64:aad7db3f93b6
28 {% block title %}{{ acknowledgment.getTitle() }}{% endblock %} 28 {% block title %}{{ acknowledgment.getTitle() }}{% endblock %}
29 29
30 {% block i_content %} 30 {% block i_content %}
31 <a class="pull-right" href="{{ url_for('.edit_acknowledgment', ordinal=ordinal, index=index) }}">edit</a> 31 <a class="pull-right" href="{{ url_for('.edit_acknowledgment', ordinal=ordinal, index=index) }}">edit</a>
32 <div class='page-header'> 32 <div class='page-header'>
33 <h1>{{ acknowledgment._name }} <small>{{ acknowledgment._organization }}</small></h1> 33 <h1>{{ acknowledgment._names | join(', ') }} <small>{{ acknowledgment._organizations | join(', ') }}</small></h1>
34 </div> 34 </div>
35 <div class="form-horizontal"> 35 <div class="form-horizontal">
36 {{ label_value('Description', acknowledgment._description or '') }} 36 {{ label_value('Description', acknowledgment._description or '') }}
37 {{ label_value('URL', (acknowledgment._url or '') | urlize) }} 37 {{ label_value('URL', (acknowledgment._url or '') | urlize) }}
38 </div> 38 </div>

http://farol.wald.intevation.org