security: show git version as well, like everywhere else

This commit is contained in:
Christoph Reiter 2024-12-06 18:09:01 +01:00
parent 1db24694a1
commit d42899e01f

View File

@ -33,8 +33,8 @@
{% for s in vulnerable|sort(attribute='worst_active_vulnerability.severity.sort_key', reverse = True) %}
<tr>
<td><a href="{{ url_for('base', base_name=s.name) }}">{{ s.name }}</a></td>
<td>{{ s.version }}</td>
<td>{{ s.upstream_version if s.is_outdated_in_git else '' }}</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 class="text-version">{{ s.upstream_version if s.is_outdated_in_git else '' }}</td>
<td class="mytooltip-onclick">
<span role="button" class="text-{{vulnerability_color(s.worst_active_vulnerability)}}"></span>
<template class="mytooltip-content">