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

backport #27514 
close #27607
pull/27623/head
Nanguan Lin 1 year ago committed by GitHub
parent 54dccbeb2e
commit fa6941cf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/issue/new_form.tmpl

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

Loading…
Cancel
Save