Skip to content

Commit 551dc8b

Browse files
[FIX] missing ctx in new_form (#27514)
added the ctx for the project link in new_form.tmpl --- ![Screenshot_20231008_075757](https://github.com/go-gitea/gitea/assets/64513301/8adaa287-9e55-4428-bc48-f8e6a2080624)
1 parent a825cc0 commit 551dc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/new_form.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_projects"}}</span>
135135
<div class="selected">
136136
{{if .Project}}
137-
<a class="item muted sidebar-item-link" href="{{.Project.Link}}">
137+
<a class="item muted sidebar-item-link" href="{{.Project.Link ctx}}">
138138
{{svg .Project.IconName 18 "gt-mr-3"}}{{.Project.Title}}
139139
</a>
140140
{{end}}

0 commit comments

Comments
 (0)