[FIX] missing ctx in new_form (#27514)
added the ctx for the project link in new_form.tmpl --- 
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…
x
Reference in New Issue
Block a user