Backport manually for a tmpl issue in v1.21 (#27612)

backport #27514 
close #27607
This commit is contained in:
Nanguan Lin 2023-10-14 19:51:58 +08:00 committed by GitHub
parent 54dccbeb2e
commit fa6941cf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_projects"}}</span>
<div class="selected">
{{if .Project}}
<a class="item muted sidebar-item-link" href="{{.Project.Link}}">
<a class="item muted sidebar-item-link" href="{{.Project.Link ctx}}">
{{svg .Project.IconName 18 "gt-mr-3"}}{{.Project.Title}}
</a>
{{end}}