Mercurial > farol > farol
diff farol/templates/vulnerability/view_note.j2 @ 89:e558238cfdb2
Add deletion of Vulnerabilities'Notes
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 09 Oct 2014 15:50:31 +0200 |
parents | 4a9f23230eba |
children | 09915cbdf549 |
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_note.j2 Thu Oct 09 15:37:51 2014 +0200 +++ b/farol/templates/vulnerability/view_note.j2 Thu Oct 09 15:50:31 2014 +0200 @@ -24,7 +24,7 @@ -#} {% extends "vulnerability/base.j2" %} - +{% from "macros.j2" import delete_button %} {% block title %}{{ note._title }}{% endblock %} {% block i_content %} @@ -34,4 +34,5 @@ </div> {% if note._audience %}<p>Audience: <em>{{ note._audience }}</em></p>{% endif %} <p>{{ note._note | replace('\n', '<br>') }}</p> +<div class="pull-right">{{ delete_button(url_for('.del_note', ordinal=ordinal, note_ordinal=note._ordinal)) }}</div> {% endblock %}