Mercurial > farol
changeset 52:b9704abca0c9
Add Description in edit_productstatus
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Tue, 07 Oct 2014 16:51:53 +0200 |
parents | 718e6b555075 |
children | 249b3ad750b1 |
files | farol/templates/vulnerability/edit_productstatus.j2 |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/farol/templates/vulnerability/edit_productstatus.j2 Tue Oct 07 16:34:56 2014 +0200 +++ b/farol/templates/vulnerability/edit_productstatus.j2 Tue Oct 07 16:51:53 2014 +0200 @@ -30,9 +30,21 @@ {% set active = 'vulnerability' %} {% block content %} +<p>The <strong>Status</strong> element contains one or more products as chosen from the <strong>Product Tree</strong>, and defines the status of this product in the mandatory <em>Status</em> attribute.</p> <form role="form" method="POST"> -{{ selectinput('status', "Status", statuses, status) }} +{% call selectinput('status', "Status", statuses, status) %} +<p>The <em>Type</em> attribute is an enumerated value that contains all the possible permutations of fixed, affected, and recommended versions of the products referenced inside the <strong>Status</strong> container. <em>Type</em> values include:</p> +<dl class="dl-horizontal"> + <dt>First Affected:</dt><dd>This is first version of the affected release known to be affected by the vulnerability.</dd> + <dt>Known Affected:</dt><dd>This version is known to be affected by the vulnerability.</dd> + <dt>Known Not Affected:</dt><dd>This version is known not to be affected by the vulnerability.</dd> + <dt>First Fixed:</dt><dd>This version contains the first fix for the vulnerability but may not be the recommended fixed version.</dd> + <dt>Fixed:</dt><dd>This version contains a fix for the vulnerability but may not be the recommended fixed version.</dd> + <dt>Recommended:</dt><dd>This version has a fix for the vulnerability and is the vendor-recommended version for fixing the vulnerability.</dd> + <dt>Last Affected:</dt><dd>This is the last version in a release train known to be affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.</dd> +</dl> +{% endcall %} {{ selectinput2('products', "Products", products, productids, multiple=True) }} <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button>