loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix missing `ctx` in new_form.tmpl (#27434)

Fix #27432
Regression of #27265

authored by

CaiCandong and committed by
GitHub
df56b1bf cbc0b730

+2 -2
+2 -2
templates/repo/issue/new_form.tmpl
··· 111 111 {{ctx.Locale.Tr "repo.issues.new.open_projects"}} 112 112 </div> 113 113 {{range .OpenProjects}} 114 - <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}"> 114 + <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}"> 115 115 {{svg .IconName 18 "gt-mr-3"}}{{.Title}} 116 116 </a> 117 117 {{end}} ··· 122 122 {{ctx.Locale.Tr "repo.issues.new.closed_projects"}} 123 123 </div> 124 124 {{range .ClosedProjects}} 125 - <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}"> 125 + <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}"> 126 126 {{svg .IconName 18 "gt-mr-3"}}{{.Title}} 127 127 </a> 128 128 {{end}}