File tree Expand file tree Collapse file tree 2 files changed +32
-6
lines changed Expand file tree Collapse file tree 2 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 66{% endblock %}
77
88{% block content %}
9- < section class ="section pt-0 ">
10- {% include "package_search_box.html" %}
11- {% include "vulnerability_search_box.html" %}
12- </ section >
13- {% endblock %}
9+ < section class ="section pt-2 ">
10+ < div class ="container ">
11+ < div class ="columns is-centered mb-5 mt-2 ">
12+ < div class ="column is-full-tablet is-full-desktop ">
13+ {% include "vulnerability_search_box.html" %}
14+ </ div >
15+ </ div >
16+ < div class ="columns is-centered mb-5 ">
17+ < div class ="column is-full-tablet is-full-desktop ">
18+ {% include "package_search_box.html" %}
19+ </ div >
20+ </ div >
21+ < div class ="notification is-info is-light has-text-centered ">
22+ < p class ="is-size-6 has-text-grey-dark has-text-centered mb-3 ">
23+ < strong > VulnerableCode</ strong > aggregates software
24+ vulnerabilities from multiple public advisory sources
25+ and presents their details along with their affected
26+ packages and fixed-by packages identified by
27+ Package URLs (PURLs).
28+ </ p >
29+ < p class ="is-size-5 ">
30+ < strong > What's new in this Release:</ strong >
31+ < a href ="{{ release_url }} " target ="_blank " class ="has-text-link is-underlined ">
32+ Check out latest updates here!
33+ </ a >
34+ </ p >
35+ </ div >
36+ </ div >
37+ </ section >
38+ {% endblock %}
Original file line number Diff line number Diff line change 77# See https://aboutcode.org for more information about nexB OSS projects.
88#
99import logging
10- from datetime import datetime
1110
1211from cvss .exceptions import CVSS2MalformedError
1312from cvss .exceptions import CVSS3MalformedError
3433from vulnerabilities .severity_systems import EPSS
3534from vulnerabilities .severity_systems import SCORING_SYSTEMS
3635from vulnerabilities .utils import get_severity_range
36+ from vulnerablecode import __version__ as VULNERABLECODE_VERSION
3737from vulnerablecode .settings import env
3838
3939PAGE_SIZE = 20
@@ -256,6 +256,7 @@ def get(self, request):
256256 context = {
257257 "vulnerability_search_form" : VulnerabilitySearchForm (request_query ),
258258 "package_search_form" : PackageSearchForm (request_query ),
259+ "release_url" : f"https://github.com/aboutcode-org/vulnerablecode/releases/tag/v{ VULNERABLECODE_VERSION } " ,
259260 }
260261 return render (request = request , template_name = self .template_name , context = context )
261262
You can’t perform that action at this time.
0 commit comments