diff farol/templates/vulnerability/view_cvss.j2 @ 94:1ca989387aeb

Add deletion of CVSS
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 16:22:41 +0200
parents 4a9f23230eba
children 09915cbdf549
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_cvss.j2	Thu Oct 09 16:14:25 2014 +0200
+++ b/farol/templates/vulnerability/view_cvss.j2	Thu Oct 09 16:22:41 2014 +0200
@@ -24,7 +24,7 @@
 -#}
 
 {% extends "vulnerability/base.j2" %}
-{% from "macros.j2" import label_value %}
+{% from "macros.j2" import label_value, delete_button %}
 {% block title %}CVSS: {{ cvss._basescore }}{% endblock %}
 
 {% block i_content %}
@@ -47,4 +47,5 @@
     </ul>
   {% endcall %}
 {% endif %}
+<div class="pull-right">{{ delete_button(url_for('.del_cvss', ordinal=ordinal, index=index)) }}</div>
 {% endblock %}

http://farol.wald.intevation.org