Skip to content

Commit

Permalink
Fix dependency link rendering in PR sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
  • Loading branch information
justusbunsi committed Aug 20, 2021
1 parent 3b2ed47 commit 04a39bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/sidebar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@
{{range .BlockedByDependencies}}
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
<div class="item-left df jc fc f1">
<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">
<a class="title" href="{{.Repository.Link}}/{{if .Issue.IsPull}}pulls{{else}}issues{{end}}/{{.Issue.Index}}">
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
</a>
<div class="text small">
Expand Down

0 comments on commit 04a39bc

Please sign in to comment.