summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/new_form.tmpl
diff options
context:
space:
mode:
authormohammed ahmed <64513301+mohammedahmed18@users.noreply.github.com>2023-10-08 08:35:20 +0200
committerGitHub <noreply@github.com>2023-10-08 08:35:20 +0200
commit551dc8bb4ddcf784362d735cc78305e2e413d43f (patch)
treec06cb8a8e0fbda59f865088fbd24b5767dfa1a47 /templates/repo/issue/new_form.tmpl
parentPre-register OAuth application for tea (#27509) (diff)
downloadforgejo-551dc8bb4ddcf784362d735cc78305e2e413d43f.tar.xz
forgejo-551dc8bb4ddcf784362d735cc78305e2e413d43f.zip
[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)
Diffstat (limited to 'templates/repo/issue/new_form.tmpl')
-rw-r--r--templates/repo/issue/new_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index 62b6b5ce6f..04ae8456bb 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/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>
<div class="selected">
{{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}}
</a>
{{end}}