Skip to content

Commit

Permalink
security: show git version as well, like everywhere else
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 6, 2024
1 parent 1db2469 commit d42899e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/security.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ <h6 class="card-subtitle mb-2 text-muted">{{ vulnerable|length }} packages with
{% 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">
Expand Down

0 comments on commit d42899e

Please sign in to comment.