diff options
author | mohammed ahmed <64513301+mohammedahmed18@users.noreply.github.com> | 2023-10-08 09:35:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 14:35:20 +0800 |
commit | 551dc8bb4ddcf784362d735cc78305e2e413d43f (patch) | |
tree | c06cb8a8e0fbda59f865088fbd24b5767dfa1a47 | |
parent | a825cc0f3423f0a5c8157c436a0c7b489ef536c1 (diff) | |
download | gitea-551dc8bb4ddcf784362d735cc78305e2e413d43f.tar.gz gitea-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)
-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}} |