changeset 24:6de88f98983c

Fix url to add a cvss vector
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 02 Oct 2014 11:25:17 +0200
parents e410f6f0f80f
children 4a3fdd3f2723
files farol/templates/vulnerability/view.j2
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/farol/templates/vulnerability/view.j2	Thu Oct 02 11:24:42 2014 +0200
+++ b/farol/templates/vulnerability/view.j2	Thu Oct 02 11:25:17 2014 +0200
@@ -96,7 +96,7 @@
       <li><a href="{{ url_for('.view_cvss', ordinal=vulnerability._ordinal, index=loop.index0) }}">{{ cvss._vector }} ({{ cvss._basescore }})</a></li>
     {% endfor %}
   </ul>
-  <a href="{{ url_for('.add_note', ordinal=vulnerability._ordinal) }}" class="pull-right">add</a>
+  <a href="{{ url_for('.add_cvss', ordinal=vulnerability._ordinal) }}" class="pull-right">add</a>
 {% endcall %}
 {% call panel(heading="Remediations (%d)" % vulnerability._remediations | length, title=3) %}
   <ul>

http://farol.wald.intevation.org