Skip to content

Commit 08d6db6

Browse files
committed
Added message when no vulnerabilities are
found for a vuln_id Signed-off-by: Tushar912 <tushar.912u@gmail.com>
1 parent 3b903ae commit 08d6db6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

vulnerabilities/templates/vulnerabilities.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ <h3 class="subtitle" id="results">Total {{result_size}} results</h3>
6060

6161
</section>
6262

63+
{% elif result_size == 0 %}
64+
<section class="section is-medium has-text-centered">
65+
<div class="container">
66+
<h1 class="title" id="results">No result found for "{{searched_for}}"</h1>
67+
</div>
68+
</section>
69+
6370
{% endif %}
6471

6572
{% endblock %}

0 commit comments

Comments
 (0)