Skip to content

Commit

Permalink
use legacy URL for the project link also on result action page
Browse files Browse the repository at this point in the history
part 2/2 of the fix for #17
  • Loading branch information
sephiroth-j committed Dec 9, 2020
1 parent 94b4513 commit 9502943
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## v3.0.2 - 2020-12-09
### 🐞 Bugs Fixed
- link to project page not working for Dependency-Track older than v3.8, part 2 (previous fix was incomplete)

## v3.0.1 - 2020-12-08
### 🐞 Bugs Fixed
- link to project page not working for Dependency-Track older than v3.8 (fixes [#17](https://github.com/jenkinsci/dependency-track-plugin/issues/17))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<h1>${it.displayName} for ${it.run.parent.displayName}${it.run.displayName}</h1>
<div class="alert alert-warning" role="alert">
These results may not be up to date.<j:if test="${it.dependencyTrackUrl != null and !it.dependencyTrackUrl.isEmpty()}"> Please visit <a class="alert-link" href="${it.dependencyTrackUrl}/projects/${it.projectId}">the Dependency Track project page</a> for the most recent results.</j:if>
These results may not be up to date.<j:if test="${it.dependencyTrackUrl != null and !it.dependencyTrackUrl.isEmpty()}"> Please visit <a class="alert-link" href="${it.dependencyTrackUrl}/project/?uuid=${it.projectId}">the Dependency Track project page</a> for the most recent results.</j:if>
</div>

<div id="app">
Expand Down

0 comments on commit 9502943

Please sign in to comment.