Skip to content

Commit

Permalink
fix(frontend): open FAQ in a new tab/window (#2823)
Browse files Browse the repository at this point in the history
This commit addresses post-merge feedback on #2821 and opens the link to
the FAQ entry in a new window/tab
  • Loading branch information
andrewpollock authored Nov 5, 2024
1 parent fe694fb commit 281ed7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcp/appengine/frontend3/src/templates/vulnerability.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ <h1 class="title">
</a>
{% elif vulnerability.human_source_link -%}
<div class="vulnerability-improvement-link">
<a href="https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data" title="Follow the Source link below and use its record feedback reporting mechanism">
<a href="https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data" target="_blank" rel="noopener noreferrer" title="Follow the Source link below and use its record feedback reporting mechanism">
See a problem?
</a>
<br/>
Please try reporting it <a href="{{ vulnerability.human_source_link}}" target="_blank" rel="noopener noreferrer">to the source</a> first.
</div>
{% else -%}
<a class="vulnerability-improvement-link" href="https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data">
<a class="vulnerability-improvement-link" href="https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data" target="_blank" rel="noopener noreferrer">
See a problem?
</a>
{% endif -%}
Expand Down

0 comments on commit 281ed7e

Please sign in to comment.