security: show git version as well, like everywhere else
This commit is contained in:
parent
1db24694a1
commit
d42899e01f
@ -33,8 +33,8 @@
|
|||||||
{% for s in vulnerable|sort(attribute='worst_active_vulnerability.severity.sort_key', reverse = True) %}
|
{% for s in vulnerable|sort(attribute='worst_active_vulnerability.severity.sort_key', reverse = True) %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ url_for('base', base_name=s.name) }}">{{ s.name }}</a></td>
|
<td><a href="{{ url_for('base', base_name=s.name) }}">{{ s.name }}</a></td>
|
||||||
<td>{{ s.version }}</td>
|
<td class="text-version">{{ s.version }}{% if s.version != s.git_version %} <span class="text-muted small align-text-bottom ps-1">({{ s.git_version }} in git)</span>{% endif %}</td>
|
||||||
<td>{{ s.upstream_version if s.is_outdated_in_git else '' }}</td>
|
<td class="text-version">{{ s.upstream_version if s.is_outdated_in_git else '' }}</td>
|
||||||
<td class="mytooltip-onclick">
|
<td class="mytooltip-onclick">
|
||||||
<span role="button" class="text-{{vulnerability_color(s.worst_active_vulnerability)}}">⚠</span>
|
<span role="button" class="text-{{vulnerability_color(s.worst_active_vulnerability)}}">⚠</span>
|
||||||
<template class="mytooltip-content">
|
<template class="mytooltip-content">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user