Skip to content

Commit

Permalink
fix(frontend): add missing special-case for openSuSE human links (#2865)
Browse files Browse the repository at this point in the history
This commit addresses the other (more important) location where special
casing for openSuSE `human_link` that was overlooked in #2844

Thanks to @hogo6002 for picking up on this.
  • Loading branch information
andrewpollock authored Nov 14, 2024
1 parent 54560cb commit 21ea844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/appengine/frontend3/src/templates/vulnerability.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="title">
</div>
<div class="mdc-layout-grid__cell--span-12">
<dl class="vulnerability-details">
{%- if vulnerability.human_source_link -%}
{%- if vulnerability.human_source_link and not vulnerability.id.startswith("openSUSE-") -%}
<dt>Source</dt>
<dd><a href="{{ vulnerability.human_source_link }}" target="_blank" rel="noopener noreferrer">{{
vulnerability.human_source_link }}</a>
Expand Down

0 comments on commit 21ea844

Please sign in to comment.