diff farol/templates/vulnerability/view_remediation.j2 @ 95:0b64dc3f50eb

Add deletion of Remediations
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 16:26:55 +0200
parents 2ce3676c9b2e
children 09915cbdf549
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_remediation.j2	Thu Oct 09 16:22:41 2014 +0200
+++ b/farol/templates/vulnerability/view_remediation.j2	Thu Oct 09 16:26:55 2014 +0200
@@ -24,7 +24,7 @@
 -#}
 
 {% extends "vulnerability/base.j2" %}
-{% from "macros.j2" import label_value, panel %}
+{% from "macros.j2" import label_value, panel, delete_button %}
 {% block title %}{{ remediation.getTitle() }}{% endblock %}
 
 {% block i_content %}
@@ -57,4 +57,5 @@
   </ul>
   {% endcall %}
 {% endif %}
+<div class="pull-right">{{ delete_button(url_for('.del_remediation', ordinal=ordinal, index=index)) }}</div>
 {% endblock %}

http://farol.wald.intevation.org