diff options
author | CaiCandong <50507092+CaiCandong@users.noreply.github.com> | 2023-10-04 18:12:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 12:12:17 +0200 |
commit | df56b1bf926e6ba25fb04f5d7835c65c079f543b (patch) | |
tree | 4ef713355173a11ef123ce005b6fef0da2dca3ad /templates/repo/issue | |
parent | cbc0b7307d8d5b6eda93bf0c9f26e20c102402f1 (diff) | |
download | gitea-df56b1bf926e6ba25fb04f5d7835c65c079f543b.tar.gz gitea-df56b1bf926e6ba25fb04f5d7835c65c079f543b.zip |
Fix missing `ctx` in new_form.tmpl (#27434)
Fix #27432
Regression of #27265
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index 6502a8d889..62b6b5ce6f 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -111,7 +111,7 @@ {{ctx.Locale.Tr "repo.issues.new.open_projects"}} </div> {{range .OpenProjects}} - <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}"> + <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}"> {{svg .IconName 18 "gt-mr-3"}}{{.Title}} </a> {{end}} @@ -122,7 +122,7 @@ {{ctx.Locale.Tr "repo.issues.new.closed_projects"}} </div> {{range .ClosedProjects}} - <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}"> + <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}"> {{svg .IconName 18 "gt-mr-3"}}{{.Title}} </a> {{end}} |