diff options
author | mohammed ahmed <64513301+mohammedahmed18@users.noreply.github.com> | 2023-10-08 08:35:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 08:35:20 +0200 |
commit | 551dc8bb4ddcf784362d735cc78305e2e413d43f (patch) | |
tree | c06cb8a8e0fbda59f865088fbd24b5767dfa1a47 /templates/repo/issue/new_form.tmpl | |
parent | Pre-register OAuth application for tea (#27509) (diff) | |
download | forgejo-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.tmpl | 2 |
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}} |