Skip to content

Commit

Permalink
Fix missing ctx in new_form.tmpl (go-gitea#27434) (go-gitea#27438)
Browse files Browse the repository at this point in the history
Backport go-gitea#27434 by @CaiCandong

Fix  go-gitea#27432
Regression of go-gitea#27265

Co-authored-by: CaiCandong <[email protected]>
  • Loading branch information
GiteaBot and CaiCandong authored Oct 4, 2023
1 parent 99e2071 commit 1ff6b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/repo/issue/new_form.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
{{ctx.Locale.Tr "repo.issues.new.open_projects"}}
</div>
{{range .OpenProjects}}
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}">
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
{{svg .IconName 18 "gt-mr-3"}}{{.Title}}
</a>
{{end}}
Expand All @@ -122,7 +122,7 @@
{{ctx.Locale.Tr "repo.issues.new.closed_projects"}}
</div>
{{range .ClosedProjects}}
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}">
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
{{svg .IconName 18 "gt-mr-3"}}{{.Title}}
</a>
{{end}}
Expand Down

0 comments on commit 1ff6b77

Please sign in to comment.