Skip to content

Commit 1ff6b77

Browse files
GiteaBotCaiCandong
andauthored
Fix missing ctx in new_form.tmpl (#27434) (#27438)
Backport #27434 by @CaiCandong Fix #27432 Regression of #27265 Co-authored-by: CaiCandong <[email protected]>
1 parent 99e2071 commit 1ff6b77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/issue/new_form.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
{{ctx.Locale.Tr "repo.issues.new.open_projects"}}
112112
</div>
113113
{{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}}">
115115
{{svg .IconName 18 "gt-mr-3"}}{{.Title}}
116116
</a>
117117
{{end}}
@@ -122,7 +122,7 @@
122122
{{ctx.Locale.Tr "repo.issues.new.closed_projects"}}
123123
</div>
124124
{{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}}">
126126
{{svg .IconName 18 "gt-mr-3"}}{{.Title}}
127127
</a>
128128
{{end}}

0 commit comments

Comments
 (0)