mirror of https://github.com/go-gitea/gitea.git
[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)
This commit is contained in:
parent
a825cc0f34
commit
551dc8bb4d
|
@ -134,7 +134,7 @@
|
||||||
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_projects"}}</span>
|
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_projects"}}</span>
|
||||||
<div class="selected">
|
<div class="selected">
|
||||||
{{if .Project}}
|
{{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}}
|
{{svg .Project.IconName 18 "gt-mr-3"}}{{.Project.Title}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue