Fix dependency link rendering in PR sidebar (#16754)

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
tokarchuk/v1.17
Steven 3 years ago committed by GitHub
parent 3ecc4a1b9e
commit e9747de952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/issue/view_content/sidebar.tmpl

@ -490,7 +490,7 @@
{{range .BlockedByDependencies}} {{range .BlockedByDependencies}}
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb"> <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
<div class="item-left df jc fc f1"> <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}} #{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
</a> </a>
<div class="text small"> <div class="text small">

Loading…
Cancel
Save